RadeonSI/AMDGPU Switches Over To New Command Submission API
Landing today within Mesa Git is a switchover for the AMDGPU winsys layer to using the new command submission (CS) API.
This change benefits the RadeonSI Gallium3D driver when using the AMDGPU kernel driver. Added to libdrm back in July was a new low overhead command submission API when dealing with the AMDGPU kernel driver. This API sends chunks to the kernel API for a single command stream. This new API is designed to be "more future proof and extensible API."
Today in Mesa Git, the AMDGPU Winsys has switched over to using this new API for command submission.
David Airlie had worked on the new libdrm API while the Mesa hookup was done by Marek Olšák. Besides the benefits of the new API, Marek commented on the patch that this also cleans up their CS code.
This change benefits the RadeonSI Gallium3D driver when using the AMDGPU kernel driver. Added to libdrm back in July was a new low overhead command submission API when dealing with the AMDGPU kernel driver. This API sends chunks to the kernel API for a single command stream. This new API is designed to be "more future proof and extensible API."
Today in Mesa Git, the AMDGPU Winsys has switched over to using this new API for command submission.
David Airlie had worked on the new libdrm API while the Mesa hookup was done by Marek Olšák. Besides the benefits of the new API, Marek commented on the patch that this also cleans up their CS code.
9 Comments