To avoid igt_runner timing out stress subtests, limit the number of exercised rings by iterating over physical rings and skipping other.
Reviewed-by: Krzysztof Karas <[email protected]> Signed-off-by: Janusz Krzysztofik <[email protected]> --- tests/intel/gem_eio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/intel/gem_eio.c b/tests/intel/gem_eio.c index da6171aee8..cbbf78b932 100644 --- a/tests/intel/gem_eio.c +++ b/tests/intel/gem_eio.c @@ -996,7 +996,7 @@ static void test_reset_stress(int fd, unsigned int flags) const intel_ctx_t *ctx0 = context_create_safe(fd); uint64_t ahnd = get_reloc_ahnd(fd, ctx0->id); - for_each_ring(e, fd) { + for_each_physical_ring(e, fd) { struct intel_execution_engine2 engine; engine = gem_eb_flags_to_engine(eb_ring(e)); -- 2.51.0
