xe_lrc_destroy(9)
π xe_lrc_destroy π
okay so bestie, welcome to the Kernel API Manual β¨ β yes this is the actual kernel docs, no I'm not kidding, and yes we're gonna get through it together π«Ά
πΈ NAME πΈ
xe_lrc_destroy β destroy the LRC, literally that's the whole job π
β¨ SYNOPSIS β¨
void xe_lrc_destroy (struct kref *ref );
π¦ ARGUMENTS π¦
refβ a reference to the LRC. that's it, that's the argument, she's serving one single pointer and honestly? iconic π
π DESCRIPTION π
so here's the tea β β this one gets called when ref == 0. like, the refcount has officially hit zero, nobody's holding on anymore, it's giving end of an era π
and when that happens? it releases all the resources held by the Logical Ring Context (that's LRC, iykyk) and then frees the LRC memory. cleanup era, slay π β¨
π SEE ALSO π
like a whole friend group of related functions, bestie, we're going through all of them because nobody gets left behind π«Ά
- the Kernel file
./drivers/gpu/drm/xe/xe_lrc.cπ (yes, the actual source, go look at her) 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_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)xe_lrc_ring_is_idle(9)
ok real talk βxe_lrc_create(9)is lowkey the main character here, she makes the thing andxe_lrc_destroycleans up after it. the circle of life fr fr π±π
and that's the whole page, bestie πβ¨ππ¦
source vibes come from ./drivers/gpu/drm/xe, dated October 2026 β mwah, catch you in the next manpage, love u byeee ππππ§π
π¦ 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