STRUCT XE_RAS_CLEAR_COUNTER_RESPONSE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct xe_ras_clear_counter_response - the receipts for when you clear a counter

okay bestie, so this page is all about struct xe_ras_clear_counter_response, and it lives in the Kernel API Manual (section 9, for the curious ✨). it's literally the response structure you get back when you clear a counter β€” the "did it work tho" receipt, if you will. 🧾


✨ SYNOPSIS ✨

here's the whole glow-up, exactly as it is:

struct xe_ras_clear_counter_response {
    struct xe_ras_error_class counter;
    u32 reserved;
    u64 timestamp;
    u32 status;
    u32 reserved1[3];
 };

πŸŽ€ MEMBERS πŸŽ€

okay so let's meet the cast, no skips:

  • counter β€” this is the counter class that was cleared. like, which counter got the treatment πŸ’… it's a struct xe_ras_error_class.
  • reserved β€” reserved. that's it, that's the whole personality. it's a u32 and it's just sitting there being reserved πŸͺ‘
  • timestamp β€” a u64 timestamp for when the counter was cleared. so you always know the moment, iconic timekeeping behavior ⏰
  • status β€” the u32 status of the clear operation. did it slay or did it flop, iykyk πŸ‘€
  • reserved1 β€” reserved for future use. it's a u32 reserved1[3] array, so three whole slots of future potential 🌈 manifesting, fr fr

🌸 SEE ALSO 🌸

this struct is part of the friend group that hangs out in the kernel file ./drivers/gpu/drm/xe/xe_ras_types.h, next to the enum β€” and here's everyone else in the group chat, alphabetically not, but whatever:

  • 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_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)
ngl, that's a whole ensemble cast and they all ate πŸ’€ go read them if you wanna understand the full RAS cinematic universe πŸ¦‹

🫢 and that's the page, bestie! this one came from the ./drivers/gpu/drm/xe directory, dated October 2026, in the Kernel API Manual. go off and clear those counters, you've got this πŸ’–βœ¨

πŸ“¦ where this page comes from