GPU HEALTH INDICATOR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– GPU HEALTH INDICATOR (9) πŸ’–

ok so real talk, this one lives in section 9 of the Kernel API Manual, and it's genuinely such a cute little interface bestie. no cap.


✨ DESCRIPTION ✨

okay so picture this: you're on an Intel Xe platform that supports the gpu health indicator interface, and the driver is just standing there, holding up this sysfs attribute so you can get in-band access to the gpu health state. iconic behavior honestly:

/sys/bus/pci/devices/<device>/gpu_health

🫢 Reading it is available to all users β€” literally everyone, come one come all β€” and it hands you back a single line containing the current gpu health state. so simple, so clean, we love her.

βœ‹ Writing it though? that's restricted to administrative users (sorry bestie, rules are rules), and writing updates the state to one of the valid values.

Management tools and administrators vibe with this interface to do two things:

  • query the current gpu health state (e.g. for telemetry/monitoring β€” very main character surveillance energy πŸ‘€)
  • update it β€” for example, to mark the gpu as warning or critical after diagnostics, or reset it back to ok once it's been remediated πŸŽ€

🌈 the valid values for the gpu health state 🌈

  • ok β€” the gpu is healthy and operating within normal parameters. she's thriving. slay. πŸ’…
  • warning β€” the gpu is experiencing minor issues but remains operational. lowkey going through it but still showing up. 🫢
  • critical β€” the gpu is in a critical state and may not be operational. 🚨 not me, not her, oh no 😭
heads up bestie: for the full ABI specification, go check out Documentation/ABI/testing/sysfs-driver-intel-xe-ras. that's the receipts. iykyk. πŸ“„

πŸ‘€ SEE ALSO πŸ‘€


ok that's the whole page, no notes πŸ’œ

this little beauty ships out of ./drivers/gpu/drm/xe, dated October 2026, and she's titled GPU Health Indicator(9) β€” periodt. πŸ¦‹βœ¨

πŸ“¦ where this page comes from