xe_lrc_init_seqno_fence(9)
π xe_lrc_init_seqno_fence β bestie, let's init a fence
okay so this is a page from the Kernel API Manual, and it's all about xe_lrc_init_seqno_fence β literally the glow-up ritual for an lrc seqno fence β¨ buckle up π
β¨ NAME β¨
xe_lrc_init_seqno_fence β initialize an lrc seqno fence π¦
πΈ SYNOPSIS πΈ
void xe_lrc_init_seqno_fence (struct xe_lrc *lrc , struct dma_fence
*fence );
no cap, that's the whole signature π
π ARGUMENTS π
lrcβ pointer to the lrc, bestie. this is the main character πfenceβ pointer to the fence you're about to initialize π«Ά
π DESCRIPTION π
so what this does: it initializes a pre-allocated lrc seqno fence. that's the vibe. once it's initialized, the fence is subject to normal dma-fence refcounting β meaning the refcount rules apply to it like they do to every other dma-fence out there. fr fr, that's it, that's the whole thing π
ngl, "pre-allocated" is doing a lot of work in that sentence β the fence already exists, you're just giving it its little moment π
π₯ SEE ALSO π₯
like, go read these too, they're iconic β¨ the kernel file in question is ./drivers/gpu/drm/xe/xe_lrc.c:
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_engine_id(9)xe_lrc_timestamp(9)xe_lrc_update_timestamp(9)xe_lrc_ring_is_idle(9)
and that's the page, bestie π«Ά this one lives over in ./drivers/gpu/drm/xe (that's the source/version vibe), dated October 2026, and it's filed under xe_lrc_init_seqno_fence(9) β 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