mesa-drm/amdgpu
Jie1zhang fdf384d4b5 amdgpu: Add queue priority and secure flags support for user queues
This patch extends the user queue creation API to support:
1. Queue priority levels (normal low, low, normal high, high)
   - High priority is restricted to admin-only
2. Secure queue flag for protected content access

The changes include:
- Adding a `flags` parameter to `amdgpu_create_userqueue()`
- Defining priority and security flags in `amdgpu_drm.h`
- Updating the `drm_amdgpu_userq_in` struct to replace padding with flags
- Documenting the new flags field

Related driver patches 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

Cc: Koenig, Christian <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>

Signed-off-by: Jesse.Zhang <Jesse.zhang@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
2025-04-14 15:37:51 +08:00
..
.editorconfig Add meson build system 2018-01-12 09:40:48 -08:00
amdgpu-symbols.txt amdgpu: Add amdgpu userqueue IOCTL functions 2025-04-10 10:03:07 -04:00
amdgpu.h amdgpu: Add queue priority and secure flags support for user queues 2025-04-14 15:37:51 +08:00
amdgpu_asic_id.c meson,configure: include config.h automatically 2018-03-20 18:19:26 +00:00
amdgpu_bo.c amdgpu: Add amdgpu userqueue IOCTL functions 2025-04-10 10:03:07 -04:00
amdgpu_cs.c amdgpu: Make amdgpu_cs_signal_semaphore() thread-safe 2024-05-23 18:57:18 +00:00
amdgpu_device.c amdgpu: fix deinit logic 2024-03-27 08:55:26 +01:00
amdgpu_gpu_info.c drm/amdgpu: add new AMDGPU_INFO subquery for userqueue metadata 2025-04-10 13:20:00 +00:00
amdgpu_internal.h amdgpu: add amdgpu_va_manager 2024-03-21 10:56:29 +01:00
amdgpu_userq.c amdgpu: Add queue priority and secure flags support for user queues 2025-04-14 15:37:51 +08:00
amdgpu_vamgr.c amdgpu: add amdgpu_va_range_alloc2 2024-03-21 10:57:04 +01:00
amdgpu_vm.c amdgpu: annotate public functions 2018-09-19 22:46:45 -07:00
Android.bp Convert to Android.bp 2024-07-29 14:47:30 -04:00
Android.sources.bp Convert to Android.bp 2024-07-29 14:47:30 -04:00
handle_table.c amdgpu: fix off by one in handle_table_insert 2018-08-16 08:50:04 +02:00
handle_table.h amdgpu: add handle table implementation v2 2018-08-07 13:27:16 +02:00
libdrm_amdgpu.pc.in amdgpu: add libdrm as private requirement/dependency 2016-02-04 13:22:50 +00:00
meson.build amdgpu: Add amdgpu userqueue IOCTL functions 2025-04-10 10:03:07 -04:00