xe_gt_lrc_hang_replay_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an enum 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:

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