xe_lrc_engine_state_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” the xe_gt struct 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 πŸ’œ

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