i915_capture_error_state(9)
π i915_capture_error_state(9) π
okay so bestie, welcome to the Kernel API Manual page for i915_capture_error_state(9) β yes, that name is a mouthful, but she's iconic and we're gonna get through it together π«Ά
πΈ NAME πΈ
i915_capture_error_state β capture an error record for later analysis. periodt. π
β¨ SYNOPSIS β¨
void i915_capture_error_state (struct intel_gt *gt , intel_engine_mask_t
engine_mask , u32 dump_flags );
π ARGUMENTS π
gtβ theintel_gtwhich originated the hang. she's the main character of this little disaster πengine_maskβ hung engines. plural energy, it's a mask, bestie β¨dump_flagsβ dump flags. literally just the flags for the dump π
π¦ DESCRIPTION π¦
Should be called when an error is detected β either a hang or an error interrupt β to capture error state from the time of the error. no cap, that's the whole vibe: grab the state while it's still fresh π
It fills out a structure which becomes available in debugfs for user level tools to pick up. so yes, the tools get their little treat, and everyone can analyze it later π₯
π SEE ALSO π
Kernel file ./drivers/gpu/drm/i915/i915_gpu_error.c β go read her, iykyk π
mwah π this page's source/version is ./drivers/gpu/drm/i915, and it's dated October 2026 β slay, bye bestie π
π¦ 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