STRUCT XE_RAS_GET_COUNTER_REQUEST(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 a u32, 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