xe_exec_que...max_priority(9)
π
xe_exec_queue_device_get_max_priority β no cap, it's the priority ceiling
okay so this page is from the Kernel API Manual, and tbh the function name is a whole mouthful β we're literally just checking how high an exec queue's priority is allowed to go π
πΈ NAME πΈ
xe_exec_queue_device_get_max_priority β Get maximum priority for an exec queues
(yes, that's the official phrasing, "an exec queues", we don't fix what the kernel wrote π)
β¨ SYNOPSIS β¨
enum xe_exec_queue_priority xe_exec_queue_device_get_max_priority
(struct xe_device *xe );
like, one arg, one return, super chill π«Ά
π¦ ARGUMENTS π¦
xeβ the Xe device. that's it, that's the whole input π
π DESCRIPTION π
So what does it actually do? It returns the maximum priority level that can be assigned to an exec queue. That's the vibe check on how much priority you're allowed to have on this device β¨
π₯ RETURN π₯
It hands you back the maximum priority level:
HIGHif you've gotCAP_SYS_NICEβ bestie privileges unlocked πNORMALotherwise β still valid, just not main character energy π
π SEE ALSO π
the whole friend group, fr fr β and yeah, there are a lot of them, we're listing every single one π
Execution Queue(9)Multi Queue Group(9)xe_exec_queue_get_lrc(9)xe_exec_queue_lrc(9)xe_exec_queue_create(9)xe_exec_queue_create_class(9)xe_exec_queue_create_bind(9)xe_exec_queue_destroy(9)xe_exec_queue_fini(9)xe_exec_queue_assign_name(9)xe_exec_queue_lookup(9)xe_exec_queue_set_property_ioctl(9)xe_exec_queue_create_ioctl(9)xe_exec_queue_get_property_ioctl(9)xe_exec_queue_is_lr(9)xe_exec_queue_is_idle(9)xe_exec_queue_update_run_ticks(9)xe_exec_queue_kill(9)xe_exec_queue_destroy_ioctl(9)xe_exec_queue_last_fence_put(9)xe_exec_queue_last_fence_put_unlocked(9)xe_exec_queue_last_fence_get(9)xe_exec_queue_last_fence_get_for_resume(9)xe_exec_queue_last_fence_set(9)xe_exec_queue_tlb_inval_last_fence_put(9)xe_exec_queue_tlb_inval_last_fence_put_unlocked(9)xe_exec_queue_tlb_inval_last_fence_get(9)xe_exec_queue_tlb_inval_last_fence_set(9)xe_exec_queue_contexts_hwsp_rebase(9)
also the source lives at kernel file ./drivers/gpu/drm/xe/xe_exec_queue.c if you wanna go read the actual code, iykyk π
lowkey a tiny function, highkey important β knowing your ceiling before you ask for priority saves you a whole lot of π
that's the whole page bestie, go forth and get those priorities π
sign-off szn: this gem comes from ./drivers/gpu/drm/xe, dated October 2026 β mwah, periodt π§ββοΈβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms