From: Nishit Sharma <[email protected]>
Add a dedicated GT reset stress subtest that triggers reset while a long
spinner workload is active.
Signed-off-by: Nishit Sharma <[email protected]>
---
tests/intel/xe_exec_reset.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/tests/intel/xe_exec_reset.c b/tests/intel/xe_exec_reset.c
index 42c2a7efd..6eda71c32 100644
--- a/tests/intel/xe_exec_reset.c
+++ b/tests/intel/xe_exec_reset.c
@@ -887,6 +887,10 @@ static void *gt_reset_thread(void *data)
* Description: Stress concurrent GT resets and job submissions during PM transition windows
* Test category: stress test
*
+ * SUBTEST: gt-stress-reset-engine-hang
+ * Description: Test GT reset while long spinner workload is active
+ * Test category: stress test
+ *
*/
static void
gt_reset(int fd, int gt, int n_threads, int n_sec, unsigned int flags)
@@ -1314,6 +1318,14 @@ int igt_main()
gt_reset(fd, 0, 8, 2, s->flags);
}
+ igt_subtest("gt-stress-reset-engine-hang")
+ xe_for_each_engine(fd, hwe) {
+ xe_legacy_test_mode(fd, hwe, 2, 4,
+ GT_RESET | LONG_SPIN,
+ LEGACY_MODE_ADDR, false);
+ break;
+ }
+
igt_subtest("gt-mocs-reset")
xe_for_each_gt(fd, gt)
gt_mocs_reset(fd, gt);
--
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.