On Wed, Dec 02, 2026 at 10:00:57AM -0500, Rodrigo Vivi wrote:
> This is v8 of:
>
> https://lore.kernel.org/dri-devel/[email protected]/
>
> 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).
Patches 1 and 2 pushed to drm-misc-next. Patch 3 depends on commit
a6276b686dd3 ("drm/xe: Invert vram_page_offline configfs attribute")
that is only on drm-xe-next. So, it will go through
drm-xe-next after the next backmerge of drm-next later.
Thank you all.
>
> Userspace consumers:
> - IGT test and tool:
>
> https://lore.kernel.org/igt-dev/[email protected]/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
>