EXECUTION QUEUE(9)
okay bestie, welcome to Execution Queue(9) from the Kernel API Manual β yes, the 9 section, we're in kernel API land now π
β¨ Execution Queue β¨
So an execution queue is literally the interface for the HW context of execution. The user creates an execution queue, submits the GPU jobs through those queues, and in the end destroys them. Periodt. π
Execution queues can also be created by XeKMD itself for driver internal operations like object migration etc. Not me being like βwho made this queue?β β sometimes the driver did. π
An execution queue is associated with a specified HW engine or a group of engines (belonging to the same tile and engine class), and any GPU job submitted on the queue will be run on one of these engines. Slay, load balancing vibe. β
An execution queue is tied to an address space (VM). It holds a reference of the associated VM and the underlying Logical Ring Context/s (LRC/s) until the queue is destroyed. The way it keeps those references alive until destruction is honestly iconic. π
The execution queue sits on top of the submission backend. It opaquely handles the GuC and Execlist backends whichever the platform uses, and the ring operations the different engine classes support. It's giving βI contain multitudesβ fr fr. π¦
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_exec_queue.c.
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_device_get_max_priority(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)
mwah π that's the whole page, bestie. Source/version: ./drivers/gpu/drm/xe; date: October 2026. Bye! π«ΆπΈ
π¦ 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