STRUCT XE_RAS_CLEAR_COUNTER_RESPONSE(9)
π 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 astruct xe_ras_error_class.reservedβ reserved. that's it, that's the whole personality. it's au32and it's just sitting there being reserved πͺtimestampβ au64timestamp for when the counter was cleared. so you always know the moment, iconic timekeeping behavior β°statusβ theu32status of the clear operation. did it slay or did it flop, iykyk πreserved1β reserved for future use. it's au32 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
- 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