ENUM XE_WEDGED_MODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum xe_wedged_mode(9) πŸ’…

okay so this is a page from the Kernel API Manual, bestie, and it's literally all about enum xe_wedged_mode β€” the official list of "how dramatic should this GPU be about declaring itself dead" modes. no cap, that's the whole vibe. 🫢


✨ NAME ✨

enum xe_wedged_mode β€” the possible wedged modes, periodt πŸ’€


🌸 SYNOPSIS 🌸

enum xe_wedged_mode {
    XE_WEDGED_MODE_NEVER ,
    XE_WEDGED_MODE_UPON_CRITICAL_ERROR ,
    XE_WEDGED_MODE_UPON_ANY_HANG_NO_RESET

};

πŸŽ€ Constants πŸŽ€

okay so here are the three moods this enum can be in, and honestly? each one has main character energy in its own way:

  • XE_WEDGED_MODE_NEVER β€” the delulu one πŸ¦‹. The device will never be declared wedged. like, ever. it simply refuses to acknowledge that anything is wrong. iconic, honestly.
  • XE_WEDGED_MODE_UPON_CRITICAL_ERROR β€” the reasonable one πŸ’…. The device gets declared wedged only when a critical error occurs, like a GT reset failure or a firmware failure. and listen β€” this is the default mode, so if you didn't pick anything, this is what you got. she's the main character for a reason πŸ‘‘
  • XE_WEDGED_MODE_UPON_ANY_HANG_NO_RESET β€” the dramatic one 😭. The device will be declared wedged on any hang. and here's the tea: in this mode, engine resets are disabled so there's no automatic recovery attempts happening behind your back. this mode is primarily intended for debugging hangs, so like... it's a diagnostic queen, not a daily driver. don't @ me. πŸ”₯
ngl bestie, that last one means if you flip it on, nothing's gonna quietly rescue you β€” that's the whole point, it's for chasing down hangs. just know what you're signing up for πŸ™ˆ

πŸ” SEE ALSO πŸ”

  • the kernel file ./drivers/gpu/drm/xe/xe_device_types.h β€” that's where this enum lives, iykyk
  • xe_page_size_alloc_ctrl_mode(9)
  • struct xe_device(9)
  • struct xe_file(9)

πŸ’– and that's the whole page! this lil beauty comes to you straight from ./drivers/gpu/drm/xe in the October 2026 era of the Kernel API Manual β€” go forth and wedge responsibly, bestie πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from