drm/xe: Add support for GPU health indicator
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | From: Anoop Vijay <[email protected]>drivers/ drivers/ drivers/ +10 more | +650 | 0 replies | |
| 2/3 | drm/xe/xe_ras: Add structures and commands for RAS GPU health indicatordrivers/ drivers/ | +80 | 0 replies | |
| 3/3 | drm/xe/xe_ras: Add RAS support for GPU health indicatordrivers/ drivers/ drivers/ +1 more | +183 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] drm/xe: Add support for GPU health indicator
This series adds Xe GPU health indicator support as RAS functionality through the System Controller mailbox and which is exposed via sysfs interface.
It introduces the health command IDs and request/response structures used by System Controller mailbox, then wires the functionality into Xe so user space can query and update GPU health state via a single sysfs node.
The sysfs file (gpu_health) is placed in the device level and behaves as follows:
$ cat /sys/.../device/gpu_health [ok] warning critical
$ echo critical > /sys/.../device/gpu_health
$ cat /sys/.../device/gpu_health ok warning [critical]
Anoop Vijay (1):
From: Anoop Vijay <[email protected]>
Soham Purkait (2):
drm/xe/xe_ras: Add structures and commands for RAS GPU health
indicator
drm/xe/xe_ras: Add RAS support for GPU health indicator
drivers/gpu/drm/xe/Makefile | 3 + drivers/gpu/drm/xe/abi/xe_sysctrl_abi.h | 31 ++ drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h | 36 ++ drivers/gpu/drm/xe/xe_device.c | 8 + drivers/gpu/drm/xe/xe_device_types.h | 6 + drivers/gpu/drm/xe/xe_pci.c | 2 + drivers/gpu/drm/xe/xe_pci_types.h | 1 + drivers/gpu/drm/xe/xe_ras.c | 166 ++++++++ drivers/gpu/drm/xe/xe_ras.h | 13 + drivers/gpu/drm/xe/xe_ras_types.h | 65 ++++ drivers/gpu/drm/xe/xe_sysctrl.c | 84 ++++ drivers/gpu/drm/xe/xe_sysctrl.h | 21 + drivers/gpu/drm/xe/xe_sysctrl_mailbox.c | 364 ++++++++++++++++++ drivers/gpu/drm/xe/xe_sysctrl_mailbox.h | 31 ++ drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h | 50 +++ drivers/gpu/drm/xe/xe_sysctrl_types.h | 32 ++ 16 files changed, 913 insertions(+) create mode 100644 drivers/gpu/drm/xe/abi/xe_sysctrl_abi.h create mode 100644 drivers/gpu/drm/xe/regs/xe_sysctrl_regs.h create mode 100644 drivers/gpu/drm/xe/xe_ras.c create mode 100644 drivers/gpu/drm/xe/xe_ras.h create mode 100644 drivers/gpu/drm/xe/xe_ras_types.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.c create mode 100644 drivers/gpu/drm/xe/xe_sysctrl.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.c create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_mailbox_types.h create mode 100644 drivers/gpu/drm/xe/xe_sysctrl_types.h
Signature · 1 line
2.43.0