Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/3] drm/xe: Expose retired VRAM pages via drm-ras
@ 2026-11-30 17:53 Rodrigo Vivi
  2026-11-30 17:53 ` [PATCH v7 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Rodrigo Vivi @ 2026-11-30 17:53 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-xe, Rodrigo Vivi

This is v7 of:

https://lore.kernel.org/dri-devel/20261127181750.806528-5-rodrigo.vivi@intel.com/

It moves the clear-error-counter split to patch 1 (Riana), collects
the review tags, and is rebased on drm-tip.

Userspace consumers:
- IGT test and tool:
  https://lore.kernel.org/igt-dev/20261127181133.801215-10-rodrigo.vivi@intel.com/T/#t
- Level Zero sysman:
  https://github.com/intel/compute-runtime/pull/1071
- XPU Manager:
  https://github.com/intel/xpumanager/pull/200

The node can also be read with the in-tree ynl tool, without any changes:

  ./tools/net/ynl/pyynl/cli.py --spec Documentation/netlink/specs/drm_ras.yaml \
      --dump get-retired-pages --json '{"node-id": 2}'

Thanks,
Rodrigo.

Aravind Iddamsetty (2):
  drm/ras: Add retired-pages node type
  drm/xe: Expose retired VRAM pages via drm-ras

Rodrigo Vivi (1):
  drm/ras: Check the node type in node lookups

 Documentation/netlink/specs/drm_ras.yaml |  78 ++++++-
 drivers/gpu/drm/drm_ras.c                | 282 +++++++++++++++++++++--
 drivers/gpu/drm/drm_ras_nl.c             |  26 +++
 drivers/gpu/drm/drm_ras_nl.h             |   6 +
 drivers/gpu/drm/xe/xe_drm_ras.c          |  78 +++++++
 drivers/gpu/drm/xe/xe_drm_ras.h          |   1 +
 drivers/gpu/drm/xe/xe_ras.c              |   2 +
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.c     |  58 +++++
 drivers/gpu/drm/xe/xe_ttm_vram_mgr.h     |   2 +
 include/drm/drm_ras.h                    |  68 ++++++
 include/uapi/drm/drm_ras.h               |  34 ++-
 11 files changed, 611 insertions(+), 24 deletions(-)

-- 
2.56.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-11-30 18:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30 17:53 [PATCH v7 0/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-11-30 17:53 ` [PATCH v7 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
2026-11-30 17:53 ` [PATCH v7 2/3] drm/ras: Add retired-pages node type Rodrigo Vivi
2026-11-30 17:53 ` [PATCH v7 3/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-11-30 18:13 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev7) Patchwork
2026-11-30 18:15 ` ✓ CI.KUnit: success " Patchwork
2026-11-30 18:52 ` ✓ Xe.CI.BAT: " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox