All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v8 0/3] drm/xe: Expose retired VRAM pages via drm-ras
@ 2026-12-02 15:00 Rodrigo Vivi
  2026-12-02 15:00 ` [PATCH v8 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Rodrigo Vivi @ 2026-12-02 15:00 UTC (permalink / raw)
  To: dri-devel
  Cc: intel-xe, riana.tauro, tejas.upadhyay, zachary.mckevitt,
	aravind.iddamsetty, Rodrigo Vivi

This is v8 of:

https://lore.kernel.org/dri-devel/cover.1796060999.git.rodrigo.vivi@intel.com/

Changes:
- Document the retired-pages node type in drm-ras.rst (Riana).
- Rebase on the enable_vram_page_offline configfs attribute, which
  fixes the build on today's drm-tip (Riana).

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/gpu/drm-ras.rst            |  23 +-
 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 ++-
 12 files changed, 633 insertions(+), 25 deletions(-)

-- 
2.56.0


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

end of thread, other threads:[~2026-12-02 17:22 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 15:00 [PATCH v8 0/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-12-02 15:00 ` [PATCH v8 1/3] drm/ras: Check the node type in node lookups Rodrigo Vivi
2026-12-02 15:00 ` [PATCH v8 2/3] drm/ras: Add retired-pages node type Rodrigo Vivi
2026-12-02 15:01 ` [PATCH v8 3/3] drm/xe: Expose retired VRAM pages via drm-ras Rodrigo Vivi
2026-12-02 16:48   ` sashiko-bot
2026-12-02 16:47 ` ✗ CI.checkpatch: warning for drm/xe: Expose retired VRAM pages via drm-ras (rev8) Patchwork
2026-12-02 16:49 ` ✓ CI.KUnit: success " Patchwork
2026-12-02 17:22 ` ✓ Xe.CI.BAT: " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.