STRUCT XE_RAS_GET_COUNTER_RESPONSE(9)
β¨ NAME β¨
struct xe_ras_get_counter_response β the response struct for get counter, bestie π
So like, this page lives in the Kernel API Manual (struct xe_ra...ter_response(9)), and it's literally just here to tell you what comes back when you ask the kernel for a counter. Slay.
πΈ SYNOPSIS πΈ
struct xe_ras_get_counter_response {
struct xe_ras_error_class counter;
u32 value;
u64 timestamp;
u32 threshold;
u32 reserved[57];
};
Okay so that's the whole shape of it β one struct, five fields, and a whole lotta reserved space at the end. Iconic. π
π Members π
counterβ the error counter that was queried π like, the one you actually asked about.valueβ the current counter value, i.e. the number you came for β¨timestampβ au64timestamp of when the counter was last updated π so you know how fresh it is, no cap.thresholdβ the threshold value for the counter πreservedβ reserved π that's it, that's the whole vibe.reserved[57]is just sitting there holding space (main character energy, honestly).
Ngl, reserved is reserved β so don't go poking at it thinking you found a secret field. It's not for you, bestie. π
π¦ SEE ALSO π¦
Kernel file ./drivers/gpu/drm/xe/xe_ras_types.h enum β that's the header where all this lore lives, go read it iykyk π
And the whole fam, fr fr:
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_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)
Okay that's the whole page, you ate it up π
β¨ This little drop came from ./drivers/gpu/drm/xe, dated October 2026, and it's filed under struct xe_ra...ter_response(9) β go forth and query those counters, bestie, ily π«Άππ¦
π¦ 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