STRUCT XE_RAS_GET_HEALTH_RESPONSE(9)
π struct xe_ras_get_health_response(9) π
okay bestie, so this is a page from the Kernel API Manual, section 9, and it's literally all about struct xe_ras_get_health_response β the response structure you get back when you're trying to obtain gpu health. yes, that's the whole vibe. it's a little guy. a tiny little struct doing important work. π©Ίβ¨
β¨ NAME β¨
struct xe_ras_get_health_response β the Response structure for obtaining gpu health π«Ά
πΈ SYNOPSIS πΈ
like, here's literally the entire struct, no cap:
struct xe_ras_get_health_response {
u8 health;
u8 reserved[3];
};
that's it. that's the whole thing. four bytes of pure main character energy. π
π Members π
okay so let's meet the members, they're each doing their own iconic thing:
healthβ the gpu health value π this is the actual payload, the reason you're here, the star of the show.reservedβ Reserved for future use π¦ i.e. hands off, bestie, it's not for you yet. the kernel has plans. future plans. do not touch.
π₯ SEE ALSO π₯
the whole friend group, fr fr. first up, the kernel file where this lives:
Kernel file ./drivers/gpu/drm/xe/xe_ras_types.h
and then the squad β every single one of these, no skipping:
enum xe_ras_recovery_action(9)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_set_health_request(9)struct xe_ras_set_health_response(9)
like, go read them. iykyk. ππ
ngl the reserved[3] thing is a whole mood β it's giving "i'm saving this seat for someone". respect the padding, bestie. π
and that's the page!! π§ this absolute gem lives in ./drivers/gpu/drm/xe, it's dated October 2026, and it's struct xe_r...lth_response(9) from the Kernel API Manual β slay, go forth and check your gpu health responsibly πππ
π¦ 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