ENUM XE_RAS_RECOVERY_ACTION(9)
π 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, slayXE_RAS_RECOVERY_ACTION_RESETβ Requires reset π₯ nah bestie we gotta restart somethingXE_RAS_RECOVERY_ACTION_DISCONNECTβ Requires disconnect π it's not you it's the hardware, we're cutting it offXE_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
- 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