xe_exec_queue_is_idle(9)
π xe_exec_queue_is_idle(9)
okay so bestie, we're in the Kernel API Manual today (section 9, very fancy of us π) and the star of the show is xe_exec_queue_is_idle β say that five times fast, iykyk.
β¨ NAME β¨
xe_exec_queue_is_idle β literally just tells you whether an exec_queue is idle. that's the whole vibe check. π
πΈ SYNOPSIS πΈ
bool xe_exec_queue_is_idle (struct xe_exec_queue *q );
π¦ ARGUMENTS π¦
qβ The exec_queue. the main character of this function, the one we're checking on π«Ά
π DESCRIPTION π
okay so here's the tea β and it's a little messy ngl:
FIXME: We still need to figure out what to use as the short-lived timeline lock for the exec_queues, so that the return value of this function actually becomes more than just an advisory snapshot in time. π
like, right now it's giving "screenshot of a vibe" not "certified truth," you know?
the timeline lock must protect the seqno from racing submissions on the same exec_queue. typically that lock is vm->resv, but user-created timeline locks use the migrate vm and never grab the migrate vm->resv β so yeah, we have a race there. π no cap, that's a real one.
β RETURN β
Trueif the exec_queue is idle πfalseotherwise π
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/xe/xe_exec_queue.c β and honestly, the whole friend group showed up for this 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_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_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)
and that's the page, bestie π§ this little drop came out of ./drivers/gpu/drm/xe, stamped October 2026, and it answers to the name xe_exec_queue_is_idle(9) β slay, stay idle, 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