xe_hw_engin...shot_capture(9)
π xe_hw_engine_snapshot_capture β Kernel API Manual
okay so bestie, welcome to the Kernel API Manual β¨ this one's a lil function page for xe_hw_engine_snapshot_capture, and the header up top is so long it got its vibe check cut off (xe_hw_engin...shot_capture(9), she's giving "text message truncated"). don't worry, we know her full name. π
β¨ NAME β¨
xe_hw_engine_snapshot_capture β take a quick snapshot of the HW Engine. like a lil polaroid but for hardware π¦
πΈ SYNOPSIS πΈ
struct xe_hw_engine_snapshot * xe_hw_engine_snapshot_capture (struct
xe_hw_engine *hwe , struct xe_exec_queue *q );
π ARGUMENTS π
hweβ the Xe HW Engine. yes bestie, the actual engine, main character energy πqβ the exec queue object. she's coming along for the ride π
π¦ DESCRIPTION π¦
you grab your snapshot now, and it can be printed out at a later stage β like during dev_coredump analysis. so it's literally "save it for later" but make it kernel dev π₯
π RETURN π
returns a Xe HW Engine snapshot object π« and the caller must free it, using xe_hw_engine_snapshot_free. no cap, if you don't free it that's a leak and we don't do that here π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/xe/xe_hw_engine.cπ xe_hw_engine_mmio_read32(9)xe_hw_engine_snapshot_free(9)xe_hw_engine_print(9)xe_hw_engine_lookup(9)
bestie reminder: grab the snapshot, print it later, free it with xe_hw_engine_snapshot_free. that's the whole loop, slay β¨
and that's the page, periodt π this lil drop came from ./drivers/gpu/drm/xe, dated October 2026, filed under the Kernel API Manual. mwah, go snapshot something π«Ά
π¦ 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