From: Rob Clark <robdclark@xxxxxxxxxxxx> 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. Rob Clark (3): lib/igt_debugfs: Add helper for writing debugfs files msm: Add helper for cmdstream building and submission msm: Add recovery tests lib/igt_debugfs.c | 16 ++++ lib/igt_debugfs.h | 12 +++ lib/igt_msm.c | 102 +++++++++++++++++++++++++ lib/igt_msm.h | 51 +++++++++++++ tests/meson.build | 1 + tests/msm_recovery.c | 172 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 354 insertions(+) create mode 100644 tests/msm_recovery.c -- 2.31.1