mesa/include
Jesse.Zhang d8624e6a79
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
winsys/amdgpu: Add support for queue priority in Mesa
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>
2025-05-08 04:29:29 +00:00
..
android_stub vulkan/android: Add missing AHB formats 2024-08-02 04:23:44 +00:00
CL include: Update the OpenCL headers to latest 2025-01-03 18:26:19 +00:00
D3D9 st/nine: Change a few advertised caps 2019-03-09 13:57:49 +01:00
d3dadapter st/nine: skip position checks in SetCursorPosition() 2019-04-20 13:06:29 +02:00
drm-uapi winsys/amdgpu: Add support for queue priority in Mesa 2025-05-08 04:29:29 +00:00
EGL EGL: sync files with Khronos 2024-01-09 17:21:44 +00:00
GL include: update GL headers from the registry 2025-04-01 19:08:38 +00:00
GLES include: update GL headers from the registry 2025-04-01 19:08:38 +00:00
GLES2 include: update GL headers from the registry 2025-04-01 19:08:38 +00:00
GLES3 include: update GL headers from the registry 2025-04-01 19:08:38 +00:00
KHR EGL: sync headers with Khronos 2022-10-12 19:26:01 +00:00
pci_ids intel/dev: remove ADLN references 2025-04-11 13:54:35 +00:00
tensorflow mesa: Import TensorFlow Lite headers 2024-01-24 10:02:10 +00:00
vk_video vulkan: Update XML and headers to 1.4.305 2025-01-17 16:42:27 +00:00
vulkan vulkan: Update XML and headers to 1.4.314 2025-05-05 15:02:19 +00:00
winddk d3d10umd,d3d10sw: Initial import. 2021-05-19 13:50:07 +00:00
c99_alloca.h
c99_compat.h c99_compat.h: assume c99 support 2022-06-14 15:08:37 +00:00
kopper_interface.h mesa_interface: rename __DRIconfig to struct dri_config 2024-10-22 06:48:02 +00:00
meson.build delete clover 2025-04-16 10:01:44 -04:00
no_extern_c.h no_extern_c.h: fix typo in comment 2020-05-21 14:23:41 +00:00
renderdoc_app.h zink: Always include renderdoc_app.h 2024-06-20 07:02:15 +00:00