xe_gt_lrc_hang_replay_size(9)
π xe_gt_lrc_hang_replay_size β the Kernel API Manual, bestie edition π
okay so this is the manual page for xe_gt_lrc_hang_replay_size(9), living its best life in the Kernel API Manual, and we are gonna get into it. no cap. β¨
πΈ NAME πΈ
xe_gt_lrc_hang_replay_size β Hang replay size. that's it, that's the name, short and iconic π
β SYNOPSIS β
size_t xe_gt_lrc_hang_replay_size (struct xe_gt *gt , enum
xe_engine_class class );
like, you call it and it hands you back a size_t. simple. elegant. main character energy. π
π¦ ARGUMENTS π¦
gtβ The GT. just... the GT. the whole graphics tile vibe π«Άclassβ Hardware engine class. it's anenum xe_engine_class, so it's giving "which flavor of engine are we talking about" π
π₯ DESCRIPTION π₯
so what does it do? it determines the size of the GPU hang replay state for a GT and a hardware engine class. that's the whole thing. the way that it just figures out how much room the hang replay state needs for that specific GT + engine class combo β obsessed, honestly. π
ngl, when the GPU hangs (and like, it happens π), there's replay state involved, and this function is the one that tells you how big it is. no guessing, no vibes-based sizing, it just knows. π§
π RETURN π
it returns the Size of GPU hang replay size. yep, a size_t, and it's literally the size of the GPU hang replay size. periodt. π
β
π SEE ALSO π
this is the group chat of related functions, and honestly everyone here is a little bit famous:
- the Kernel file
./drivers/gpu/drm/xe/xe_lrc.cπ 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)xe_lrc_ring_is_idle(9)
all of them, every single one, iykyk πβ¨
π ok that's the page, bye bestie π
this little masterpiece lives in ./drivers/gpu/drm/xe, it's dated October 2026, and the whole thing answers to the name xe_gt_lrc_hang_replay_size(9). slay, go read some kernel source, drink water, ily π«ΆπΈπ
π¦ 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