xe_lrc_ring_is_idle(9)
β¨ xe_lrc_ring_is_idle β¨
okay bestie, so this is a page from the Kernel API Manual β it's xe_lrc_ring_is_idle(9) and it's literally the vibe check for your LRC π
πΈ NAME πΈ
xe_lrc_ring_is_idle β LRC is idle (yes that's the whole name, iconic, we love a short king π
π SYNOPSIS π
bool xe_lrc_ring_is_idle (struct xe_lrc *lrc );
π¦ ARGUMENTS π¦
lrcβ Pointer to the lrc. that's it. that's the whole argument. she takes one (1) pointer and she's done π«Ά
π DESCRIPTION π
So what she does is: she compares the LRC ring head and tail to determine if idle. Head vs tail, one little comparison, and boom β you know if the ring is sitting there chilling or actually doing stuff. no cap, that's the whole algorithm π§
β RETURN β
- True if ring is idle
- False otherwise
(yeah it says "True is ring is idle" in the original, we're not fixing that typo, we're just honouring it π)
π₯ SEE ALSO π₯
Kernel file ./drivers/gpu/drm/xe/xe_lrc.c, plus the whole friend group:
xe_gt_lrc_hang_replay_size(9)xe_lrc_reg_size(9)xe_lrc_engine_state_size(9)xe_lrc_ctx_timestamp_ggtt_addr(9)xe_lrc_ctx_timestamp_udw_ggtt_addr(9)xe_lrc_ctx_timestamp(9)xe_lrc_queue_timestamp(9)xe_lrc_ctx_job_timestamp_ggtt_addr(9)xe_lrc_ctx_job_timestamp(9)xe_default_lrc_update_memirq_regs_with_address(9)xe_lrc_update_memirq_regs_with_address(9)xe_lrc_setup_wa_bb_with_scratch(9)xe_lrc_set_multi_queue_priority(9)xe_lrc_create(9)xe_lrc_destroy(9)xe_lrc_update_hwctx_regs_with_address(9)xe_lrc_alloc_seqno_fence(9)xe_lrc_free_seqno_fence(9)xe_lrc_init_seqno_fence(9)xe_lrc_engine_id(9)xe_lrc_timestamp(9)xe_lrc_update_timestamp(9)
π«Ά quick reminder: she only tells you whether the ring is idle β she does not tell you why, or what to do about it. don't ask her for more, she's booked and busy.
alright that's the page!! this one lives in ./drivers/gpu/drm/xe, dated October 2026, and it's filed under xe_lrc_ring_is_idle(9) β catch u later bestie, mwah πβ¨
π¦ 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