Skip to content

drm-ras library, tool and retired pages test

Rodrigo Vivi igt-dev 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest11 patches 0 repliesNew
  2. v19 patches 0 repliesSuperseded

Changes in v5 from the cover letter

- Link the tool against only the drm-ras netlink library and the tool stubs, not the whole igt library (Kamil, Sebastian). This adds two small igt_tools_stub patches.
- Rebase on master.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11lib/igt_drm_ras_nl: Add node and error counter listinglib/igt_drm_ras_nl.c lib/igt_drm_ras_nl.h+211 -00 replies
2/11lib/igt_tools_stub: Add igt_gettime() and igt_nsec_elapsed()lib/igt_tools_stub.c+22 -00 replies
3/11lib/igt_tools_stub: Do not print debug messageslib/igt_tools_stub.c+4 -10 replies
4/11tools/drm_ras: Add a DRM RAS netlink toollib/meson.build tools/drm_ras.c tools/meson.build+127 -00 replies
5/11drm-uapi/drm_ras: Sync with kernel c95c93b6e26cinclude/drm-uapi/drm_ras.h+32 -60 replies
6/11lib/igt_drm_ras_nl: Add telemetry helperslib/igt_drm_ras_nl.c lib/igt_drm_ras_nl.h+207 -130 replies
7/11tools/drm_ras: Show and set telemetry fieldstools/drm_ras.c+121 -60 replies
8/11drm-uapi/drm_ras: Sync with kernel for retired pagesinclude/drm-uapi/drm_ras.h+32 -20 replies
9/11lib/igt_drm_ras_nl: Add retired pages helperslib/igt_drm_ras_nl.c lib/igt_drm_ras_nl.h+94 -00 replies
10/11tools/drm_ras: Show retired pagestools/drm_ras.c+31 -20 replies
11/11tests/intel/xe_drm_ras: Test retired pagestests/intel/xe_drm_ras.c tests/meson.build+218 -00 replies

Reviews trailers per patch

3 of 11 patches have a Reviewed-by or Acked-by.

PatchZack McKevitt
1/11
2/11
3/11
4/11
5/11R-b
6/11R-b
7/11T-b R-b
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH i-g-t v5 00/11] drm-ras library, tool and retired pages test

Library helpers, a drm_ras tool and an xe test for the drm-ras error counters, telemetry and retired pages.

v5:
- Link the tool against only the drm-ras netlink library and the tool stubs, not the whole igt library (Kamil, Sebastian). This adds two small igt_tools_stub patches.
- Rebase on master.

Kernel series:
https://lore.kernel.org/dri-devel/[email protected]/

Branch:
https://gitlab.freedesktop.org/rodrigovivi/igt-gpu-tools/-/commits/drm-ras-lib-v5

Thanks,
Rodrigo.

Rodrigo Vivi (11):
lib/igt_drm_ras_nl: Add node and error counter listing lib/igt_tools_stub: Add igt_gettime() and igt_nsec_elapsed() lib/igt_tools_stub: Do not print debug messages tools/drm_ras: Add a DRM RAS netlink tool drm-uapi/drm_ras: Sync with kernel c95c93b6e26c lib/igt_drm_ras_nl: Add telemetry helpers tools/drm_ras: Show and set telemetry fields drm-uapi/drm_ras: Sync with kernel for retired pages lib/igt_drm_ras_nl: Add retired pages helpers tools/drm_ras: Show retired pages tests/intel/xe_drm_ras: Test retired pages

 include/drm-uapi/drm_ras.h |  68 +++++-
 lib/igt_drm_ras_nl.c       | 421 +++++++++++++++++++++++++++++++++++++
 lib/igt_drm_ras_nl.h       |  78 +++++++
 lib/igt_tools_stub.c       |  27 ++-
 lib/meson.build            |  11 +
 tests/intel/xe_drm_ras.c   | 217 +++++++++++++++++++
 tests/meson.build          |   1 +
 tools/drm_ras.c            | 253 ++++++++++++++++++++++
 tools/meson.build          |   7 +
 9 files changed, 1076 insertions(+), 7 deletions(-)
 create mode 100644 tests/intel/xe_drm_ras.c
 create mode 100644 tools/drm_ras.c
Signature · 1 line
2.56.0