STRUCT XE_RAS_THRESHOLD_CROSSED(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct xe_ras_threshold_crossed(9) πŸ’–

okay so real talk bestie, this is straight out of the Kernel API Manual and it's literally the glow-up guide for one tiny struct. no cap, it's small but it's important. let's get into it 🫢


✨ NAME ✨

struct xe_ras_threshold_crossed β€” the Data for threshold crossed event. that's the whole vibe. it's the little gossip packet that says "hey, some counters went over the line" πŸ’…


🌸 SYNOPSIS 🌸

here's the whole thing, character for character, no edits from me because i respect the source:

struct xe_ras_threshold_crossed {
    u32 ncounters;
    struct xe_ras_error_class counters[XE_RAS_NUM_COUNTERS];
 };

like… two members. that's it. that's the whole struct. and yet she's booked and busy πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • ncounters β€” Number of error counters that crossed thresholds. so basically how many of them are being messy rn. it's the headcount of the threshold-breakers πŸ‘‘
  • counters β€” Array of error counters that crossed threshold. this is the actual lineup, struct xe_ras_error_class counters[XE_RAS_NUM_COUNTERS], sized by XE_RAS_NUM_COUNTERS β€” every counter that hit the limit gets a spot in the roster πŸ’€πŸ”₯

⭐ SEE ALSO ⭐

the whole extended friend group, and yes you do need to know all of them β€” iykyk:

Kernel file ./drivers/gpu/drm/xe/xe_ras_types.h enum β€” that's where this queen lives 🏠

  • 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_get_counter_request(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)

like, that's a full group chat and every single one of them is invited to the function πŸ§šπŸ’œ


ok that's the whole page!! no hidden lore, no extra flags, nothing else hiding in the drafts. this is the entire struct and her entire circle. periodt πŸ’…

kisses bestie, mwah πŸ’– β€” this lil page came from ./drivers/gpu/drm/xe, dated October 2026, and yes it's still titled struct xe_ras_threshold_crossed(9) in case you forgot already 😭 slay, go read the kernel source, ily, bye 🌈⭐

πŸ“¦ where this page comes from