ENUM XE_WEDGED_MODE(9)
π 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
- 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