Render loop is running. But currently it don’t render anything yet. Most part of interaction with graphics card is not yet implemented.
Major parts needed to be implemented:
- Initialization and acquiring information.
- Graphics memory allocation (AMDGPU_GEM_CREATE).
- GPU virtual memory mapping (AMDGPU_GEM_VA).
- Sending command buffers to GPU ring buffers (AMDGPU_CS).
- Handling interrupts to know when command execution completed (AMDGPU_WAIT_CS).
Old Linux radeon driver can be used as reference because it is smaller and easier to understand.