VOOZH about

URL: https://www.phoronix.com/news/Mesa-25.2-AMDGPU-Queue-Priority

⇱ Mesa 25.2 Merges AMD Support For Setting Queue Priorities - Phoronix


👁 Phoronix

Mesa 25.2 Merges AMD Support For Setting Queue Priorities

Written by Michael Larabel in Radeon on 8 May 2025 at 05:55 AM EDT. 1 Comment
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.

👁 Merge request


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.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.