mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 03:00:11 +01:00
This patch adds support for queue priority levels in Mesa's AMDGPU winsys layer. The changes include: 1. Updated ac_drm_create_userqueue() to accept and pass through flags parameter 2. Modified amdgpu_userq_init() to use the flags when creating queues 3. Added flags field to amdgpu_userq struct to store priority settings 4. Updated header definitions to match kernel UAPI changes This aligns with the kernel changes provided by Alex: https://lists.freedesktop.org/archives/amd-gfx/2025-April/122782.html https://lists.freedesktop.org/archives/amd-gfx/2025-April/122780.html https://lists.freedesktop.org/archives/amd-gfx/2025-April/122786.html v2: We only need 1 normal priority queue and 1 TMZ normal priority queue.(Marek Olšák) v3: Simplified to only support normal priority queues v4: use a local variable instead of being in struct amdgpu_userq.(Marek Olšák) v5: rebase the latest main branch. Signed-off-by: Jesse.Zhang <Jesse.zhang@amd.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34568> |
||
|---|---|---|
| .. | ||
| android_stub | ||
| CL | ||
| D3D9 | ||
| d3dadapter | ||
| drm-uapi | ||
| EGL | ||
| GL | ||
| GLES | ||
| GLES2 | ||
| GLES3 | ||
| KHR | ||
| pci_ids | ||
| tensorflow | ||
| vk_video | ||
| vulkan | ||
| winddk | ||
| c99_alloca.h | ||
| c99_compat.h | ||
| kopper_interface.h | ||
| meson.build | ||
| no_extern_c.h | ||
| renderdoc_app.h | ||