i915_capture_error_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the intel_gt which 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