xe_exec_queue_get_lrc(9)
π xe_exec_queue_get_lrc(9) β like, the Kernel API Manual page for getting your LRC β¨
okay so bestie, welcome to xe_exec_queue_get_lrc(9), straight out of the Kernel API Manual. it's a lil one but she's iconic, and I'm gonna walk you through it π
πΈ NAME πΈ
xe_exec_queue_get_lrc β bestie, it gets the LRC from the exec queue. that's the whole vibe. no cap.
β¨ SYNOPSIS β¨
struct xe_lrc * xe_exec_queue_get_lrc (struct xe_exec_queue *q , u16 idx );
like, literally exactly that. copy it character for character or don't come for me π
π ARGUMENTS π
qβ the exec queue instance. she's the main character here πidxβ the index within the multi-LRC array. yes, you gotta tell her which one π¦
π DESCRIPTION π
So what she does is: retrieves the LRC of the given index for the exec queue β under lock, bestie β and takes a reference. the way she's out here locking AND referencing?? obsessed. she's doing the absolute most and we love her for it π₯
β RETURN β
- a pointer to the LRC on success π
- an error on failure π
NULLon lookup failure π
three possible outcomes, she keeps you guessing fr fr
π SEE ALSO π
okay this list is LONG, so buckle up buttercup, every single one of these is getting its moment:
- Kernel file
./drivers/gpu/drm/xe/xe_exec_queue.c - Execution Queue(9)
- Multi Queue Group(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)
go read all of them. i'll wait π«Ά
ngl bestie, one tiny note β the "under lock and takes reference" thing in DESCRIPTION means the locking and the ref-taking are part of the package. don't go thinking you can skip out on either one, she's not that kind of function π
and that's a wrap on xe_exec_queue_get_lrc(9)!! π§ she lives in ./drivers/gpu/drm/xe and this lil gem is dated October 2026 β periodt, that's the source, the version, and the date all in one cute lil sign-off πβ¨π
π¦ 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