xe_lrc_engine_state_size(9)
π xe_lrc_engine_state_size β¨
okay so this is a page from the Kernel API Manual (yes, the kernel has a manual, and yes she's serving) and it's all about xe_lrc_engine_state_size, which is literally the function that tells you how big the engine state is inside the LRC π
πΈ NAME πΈ
xe_lrc_engine_state_size β bestie, this one just gets the size of the engine state within LRC. that's the whole job. icon behaviour honestly π
β SYNOPSIS β
size_t xe_lrc_engine_state_size (struct xe_gt *gt , enum xe_engine_class
class );
like, it hands you back a size_t and it wants a struct xe_gt * plus an enum xe_engine_class. no cap, that's it π
π¦ ARGUMENTS π¦
gtβ thexe_gtstruct instance. she's the main character here, she's the GT you're asking about π«Άclassβ the Hardware engine class. yep, that's the flavour of engine you're sizing up π₯
π RETURN π
it returns the Size of the engine state. literally just a size. it's giving "one job, done perfectly" β¨
π SEE ALSO π
okay this list is long and honestly kind of iconic, so buckle up bestie, we're going through all of it, because the kernel file lives at ./drivers/gpu/drm/xe/xe_lrc.c and there is a whole friend group of related pages π
xe_gt_lrc_hang_replay_size(9)xe_lrc_reg_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)
and the whole squad is documented out of ./drivers/gpu/drm/xe β read them all, go off, iykyk ππ
ngl, the full function signature above is wrapped across two lines exactly like the original, so if you're grepping, keep that in mind π
π§ and that's the page!! this one shipped from ./drivers/gpu/drm/xe, dated October 2026, under the Kernel API Manual banner. slay, bye bestie, go size some engine state π
β¨π
π¦ 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