Mesa 25.2 Merges AMD Support For Setting Queue Priorities
- Reference: 0001545233
- News link: https://www.phoronix.com/news/Mesa-25.2-AMDGPU-Queue-Priority
- Source link:
The notion of queue priority levels has been added to the Mesa AMDGPU winsys layer. This corresponds to the user-space API being added to the AMDGPU kernel driver around different priority levels:
"0 - normal low - most apps (maps to MES AMD_PRIORITY_LEVEL_NORMAL)
1 - low - background jobs (maps to MES AMD_PRIORITY_LEVEL_LOW)
2 - normal high - apps that need relative high (maps to MES AMD_PRIORITY_LEVEL_MEDIUM)
3 - high (admin only - for compositors) (maps to MES AMD_PRIORITY_LEVEL_HIGH)"
These priority levels then are taken into account by the AMD GPU's Micro Engine Scheduler "MES" for scheduling of compute/graphics execution on the hardware. These priority levels are effectively just hints for the job/execution scheduler.
The pull request also adds support for secure queue creation for protected content access for dealing with the AMD Trusted Memory Zone (TMZ) feature.
See [1]this Mesa merge now in Mesa 26.2 if interested in the queue priority support and secure queue handling for the open-source AMD graphics driver stack.
[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34568
Ranguvar