Skip to content

msm: Add tests for gpu fault handling

Rob Clark igt-dev linux-arm-msm 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v23 patches 5 repliesSuperseded
  3. v13 patches 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4lib/igt_debugfs: Add helper for writing debugfs fileslib/igt_debugfs.c lib/igt_debugfs.h+30 -00 replies
2/4lib/igt_debugfs: Add helper for detecting debugfs fileslib/igt_debugfs.c lib/igt_debugfs.h+22 -01 reply
3/4msm: Add helper for cmdstream building and submissionlib/igt_msm.c lib/igt_msm.h+150 -00 replies
4/4msm: Add recovery testslib/igt_msm.h tests/meson.build tests/msm_recovery.c+178 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetri Latvala
SeriesA-b
1/4R-b
2/4R-b
3/4
4/4

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

Read the v3 thread

Cover letter [igt-dev] [PATCH igt v3 0/4] msm: Add tests for gpu fault handling

From: Rob Clark <[email protected]>

The first patch adds a easy way to write debugfs files (needed to disable hw fault detection, so we can test the sw timeout fallback). The second adds some helpers for cmdstream building. And the third adds the new tests.

v2: Fix headerdoc comments in first patch
v3: Add helper to detect debugfs files and updated last patch
to skip the one sub-test that depends on new debugfs when running on older kernels

Rob Clark (4):
lib/igt_debugfs: Add helper for writing debugfs files lib/igt_debugfs: Add helper for detecting debugfs files
msm: Add helper for cmdstream building and submission
msm: Add recovery tests

 lib/igt_debugfs.c    |  38 ++++++++++
 lib/igt_debugfs.h    |  14 ++++
 lib/igt_msm.c        | 102 +++++++++++++++++++++++++
 lib/igt_msm.h        |  51 +++++++++++++
 tests/meson.build    |   1 +
 tests/msm_recovery.c | 174 +++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 380 insertions(+)
 create mode 100644 tests/msm_recovery.c
Signature · 1 line
2.33.1