Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: <dri-devel@lists.freedesktop.org>
Cc: <intel-xe@lists.freedesktop.org>, Rodrigo Vivi <rodrigo.vivi@intel.com>
Subject: [PATCH v7 0/3] drm/xe: Expose retired VRAM pages via drm-ras
Date: Mon, 30 Nov 2026 12:53:03 -0500	[thread overview]
Message-ID: <cover.1796060999.git.rodrigo.vivi@intel.com> (raw)

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


             reply	other threads:[~2026-11-30 17:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 17:53 Rodrigo Vivi [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1796060999.git.rodrigo.vivi@intel.com \
    --to=rodrigo.vivi@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=intel-xe@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox