Message ID | 20211116003042.439107-1-robdclark@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | msm: Add tests for gpu fault handling | expand |
On Mon, Nov 15, 2021 at 04:30:38PM -0800, Rob Clark wrote: > From: Rob Clark <robdclark@chromium.org> > > 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 For patches 3+4, in case you're waiting for this: Acked-by: Petri Latvala <petri.latvala@intel.com> For the record, msm-specific test case changes don't need to wait for review (see single contributor exception in CONTRIBUTING.md).
On Fri, Nov 19, 2021 at 3:56 AM Petri Latvala <petri.latvala@intel.com> wrote: > > On Mon, Nov 15, 2021 at 04:30:38PM -0800, Rob Clark wrote: > > From: Rob Clark <robdclark@chromium.org> > > > > 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 > > For patches 3+4, in case you're waiting for this: > Acked-by: Petri Latvala <petri.latvala@intel.com> > > For the record, msm-specific test case changes don't need to wait for > review (see single contributor exception in CONTRIBUTING.md). > Thanks, I was actually just waiting until I had time to start putting together msm-next for v5.17, and pull in the patch that added the debugfs which the recovery tests use (which should hopefully be in next few days) BR, -R
From: Rob Clark <robdclark@chromium.org> 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