STRUCT XE_RAS_GET_HEALTH_RESPONSE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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