ENUM XE_RAS_RECOVERY_ACTION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum xe_ras_recovery_action(9) β€” the Kernel API Manual, bestie edition

okay so welcome to the enum xe_ras_recovery_action(9) page from the Kernel API Manual ✨ this is the little enum that tells you what to do when your GPU gets a RAS error, and honestly it's giving "emergency contact list" energy 🫢


🌸 NAME 🌸

enum xe_ras_recovery_action β€” RAS recovery actions, literally the menu of choices for "what now" 😭


✨ SYNOPSIS ✨

enum xe_ras_recovery_action {
    XE_RAS_RECOVERY_ACTION_RECOVERED ,
    XE_RAS_RECOVERY_ACTION_RESET ,
    XE_RAS_RECOVERY_ACTION_DISCONNECT ,
    XE_RAS_RECOVERY_ACTION_MAX

};

that's the whole squad, no cap πŸ‘‘


πŸŽ€ Constants πŸŽ€

  • XE_RAS_RECOVERY_ACTION_RECOVERED β€” Error recovered πŸ’– like ok we're fine, we bounced back, slay
  • XE_RAS_RECOVERY_ACTION_RESET β€” Requires reset πŸ”₯ nah bestie we gotta restart something
  • XE_RAS_RECOVERY_ACTION_DISCONNECT β€” Requires disconnect πŸ’€ it's not you it's the hardware, we're cutting it off
  • XE_RAS_RECOVERY_ACTION_MAX β€” Max action value 🌈 the ceiling, the boundary, the "nothing past here" energy

πŸ¦‹ Description πŸ¦‹

so this enum is lowkey just a list β€” it defines the possible recovery actions you can take in response to RAS errors ✨ that's it, that's the tea. main character enum, no plot twists πŸ™ˆ


πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/gpu/drm/xe/xe_ras_types.h plus the whole extended friend group, fr fr:

  • struct xe_ras_error_common(9)
  • struct xe_ras_error_unit(9)
  • struct xe_ras_error_cause(9)
  • struct xe_ras_error_product(9)
  • struct xe_ras_error_class(9)
  • struct xe_ras_threshold_crossed(9)
  • struct xe_ras_get_counter_request(9)
  • struct xe_ras_get_counter_response(9)
  • struct xe_ras_clear_counter_request(9)
  • struct xe_ras_clear_counter_response(9)
  • struct xe_ras_error_array(9)
  • struct xe_ras_get_soc_error(9)
  • struct xe_ras_compute_error(9)
  • struct xe_ras_soc_error_source(9)
  • struct xe_ras_soc_error(9)
  • struct xe_ras_csc_error(9)
  • struct xe_ras_ieh_error(9)
  • struct xe_ras_memory_error(9)
  • struct xe_ras_get_health_request(9)
  • struct xe_ras_get_health_response(9)
  • struct xe_ras_set_health_request(9)
  • struct xe_ras_set_health_response(9)

go read them all, iykyk πŸ’…


real talk though: these are structs in the kernel docs, so a typo in your code is gonna hurt worse than a bad hair day. check the header, bestie. πŸ“

🌈 and that's the page!! this lil corner of the manual lives in ./drivers/gpu/drm/xe and it's dated October 2026 in the footer, with enum xe_ras_recovery_action(9) stamped on the other side πŸŽ€ mwah, go forth and recover πŸ’–βœ¨

πŸ“¦ where this page comes from