Going along with new AMDGPU kernel driver patches on their way to the mainline kernel with Linux 6.16, the Mesa 25.2 user-space driver code has landed the infrastructure for being able to set queue priorities as well as secure queues.
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 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.