xe_exec_queue_create(9)
π xe_exec_queue_create(9) π
okay so bestie, welcome to the kernel API manual for xe_exec_queue_create(9) β yes that's a section 9, we're in kernel-doc land now, come on in π«Ά
β¨ NAME β¨
xe_exec_queue_create β create an exec queue, that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
struct xe_exec_queue * xe_exec_queue_create (struct xe_device *xe ,
struct xe_vm *vm , u32 logical_mask , u16 width , struct xe_hw_engine
*hwe , u32 flags , u64 extensions );
π ARGUMENTS π
xeβ the Xe device, your main character π₯οΈvmβ the VM for the exec queue, like the address space it lives inlogical_maskβ logical mask of HW engines (yes, exactly what it sounds like)widthβ width of the exec queue, which is the number of LRCs, no caphweβ the hardware engine, the actual silicon vibeflagsβ exec queue creation flags, your little knobsextensionsβ extensions for exec queue creation, extra stuff, iykyk
π¦ DESCRIPTION π¦
So what does it do? It creates an exec queue β and by "creates" I mean it allocates and initializes one β with all the specified parameters you just handed it. That's the whole thing. Iconic, honestly β¨
π RETURN π
You get a pointer to the created exec queue on success π β and ERR_PTR on failure π (so like, check it, bestie, fr fr).
π SEE ALSO π
the way this list is LONG, but we love her for it π
- Kernel file
./drivers/gpu/drm/xe/xe_exec_queue.c Execution Queue(9)Multi Queue Group(9)xe_exec_queue_get_lrc(9)xe_exec_queue_lrc(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)
π reminder bestie: this page lives under ./drivers/gpu/drm/xe and it's dated October 2026 β go read the source if you want the full lore, no cap.
okay that's the whole page, ily, go create some exec queues responsibly π§ββοΈπβ¨
π¦ 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