STRUCT XE_SURVIVABILITY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a u32 array sized MAX_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 an enum 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