STRUCT XE_SURVIVABILITY(9)
π struct xe_survivability(9) π
okay bestie, so we're flipping through the Kernel API Manual, section 9, and this page is literally all about struct xe_survivability β the little struct that's holding all your survivability mode intel. that's it, that's the whole vibe. no cap, it's giving "small struct, big responsibilities" β¨
πΈ NAME πΈ
struct xe_survivability β Contains survivability mode information π
like, the entire point of it. it contains the survivability mode info. iconic, honestly.
π SYNOPSIS π
here's the whole thing laid out, every field, exactly as it lives in the header:
struct xe_survivability {
u32 info[MAX_SCRATCH_REG];
u32 size;
u8 boot_status;
bool mode;
enum xe_survivability_type type;
bool fdo_mode;
u8 version;
};
yes, that's the shape of it. read on for what each little member is actually doing π«Ά
π¦ Members π¦
infoβ the survivability debug info. that's the whole description, and honestly? it's serving mysterious main character energy. it's au32array sizedMAX_SCRATCH_REG, so it's got room.sizeβ the number of scratch registers. like a headcount for your scratch regs, bestie.boot_statusβ indicates critical/non critical boot failure. so when boot goes sideways, this is the field that knows whether it was a critical kind of sideways or the regular kind πmodeβ a boolean to indicate survivability mode.bool. either you're in the mode or you're not. binary. no in-between.typeβ the survivability type. it's anenum xe_survivability_type, so there are options, and this holds whichever one applies.fdo_modeβ indicates if FDO mode is enabled. yes or no, on or off, the classic bool situation.versionβ the breadcrumb version of survivability mode π (the manual literally says breadcrumb and we're obsessed with that word choice)
π SEE ALSO π
Kernel file ./drivers/gpu/drm/xe/xe_survivability_mode_types.h
that's where the type situation lives, so go peek if you want the enum tea π
and that's the page, bestie π this gem comes to you straight out of ./drivers/gpu/drm/xe, stamped October 2026, footer and all β struct xe_survivability(9) forever, periodt π
π¦ 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