[igt-dev] [PATCH i-g-t 2/2] tests/i915/gem_ctx_exec: Skip test for shared reset domain
priyanka.dandamudi at intel.com
priyanka.dandamudi at intel.com
Fri Jan 7 16:19:20 UTC 2022
From: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
The test tries to submit non-preemptible spinneris to all engines,
causes a hang and expects the non-preemptible spinners to survive
but fails to do for RCS+CCS.
So, updated the code to skip nohangcheck subtest for a platform with RCS+CCS.
Signed-off-by: Priyanka Dandamudi <priyanka.dandamudi at intel.com>
Cc: John Harrison <John.C.Harrison at Intel.com>
Cc: Melkaveri, Arjun <arjun.melkaveri at intel.com>
---
tests/i915/gem_ctx_exec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/i915/gem_ctx_exec.c b/tests/i915/gem_ctx_exec.c
index a1270a88..e85fbbf4 100644
--- a/tests/i915/gem_ctx_exec.c
+++ b/tests/i915/gem_ctx_exec.c
@@ -292,6 +292,7 @@ static void nohangcheck_hostile(int i915)
ahnd = get_reloc_ahnd(i915, ctx->id);
igt_require(__enable_hangcheck(dir, false));
+ igt_require(!has_shared_reset_domain(i915, ctx, e));
for_each_ctx_engine(i915, ctx, e) {
igt_spin_t *spin;
--
2.25.1
More information about the igt-dev
mailing list