STRUCT XE_RAS_GET_COUNTER_REQUEST(9)
π struct xe_ras_get_counter_request(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the manual name, i'm folding it in right here at the top so it doesn't get lost, you're welcome π«Ά β and today we're reading the literal blueprint of struct xe_ras_get_counter_request. it's the request structure for get counter. that's the whole vibe. it's giving "small but crucial" β¨
πΈ NAME πΈ
struct xe_ras_get_counter_request β the Request structure for get counter. no cap, that's literally what it is π
β¨ SYNOPSIS β¨
here's the whole shape of her, character for character, don't touch:
struct xe_ras_get_counter_request {
struct xe_ras_error_class counter;
u32 reserved;
};
look at that. two fields. minimal. iconic. main character energy π
π Members π
counterβ the Error counter to be queried. like, this is the one you're actually asking about β the whole reason this request exists πreservedβ Reserved for future use. it's just sitting there, holding space, being au32, waiting for its moment. we respect her π¦
π₯ SEE ALSO π₯
bestie there is a whole friend group here, and i'm listing every single one because we don't do "etc." in this house π
first up, the file these all live in:
- Kernel file
./drivers/gpu/drm/xe/xe_ras_types.h
and now the cast, in order, no skips:
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_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_get_health_response(9)struct xe_ras_set_health_request(9)struct xe_ras_set_health_response(9)
that's twenty-two whole references, all accounted for, nothing left on read πβ¨
ngl, if you were looking for options, flags, exit statuses or environment variables β this page doesn't have any, like at all. it's a struct page, bestie. it just is. π
okay that's the whole page!! no notes, she ate π the source is ./drivers/gpu/drm/xe and it's dated October 2026, so go forth and query those counters, you absolute icon πππ
π¦ 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