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). 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
