To avoid igt_runner timing out stress subtests, limit the number of
exercised rings by iterating over physical rings and skipping other.

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 5b0925a8c6..cbfed99b61 100644
--- a/tests/intel/gem_eio.c
+++ b/tests/intel/gem_eio.c
@@ -997,7 +997,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

Reply via email to