[igt-dev] [CI 2/2] gem_exec_fence: Really loop through all engines

Petri Latvala petri.latvala at intel.com
Thu Mar 14 10:27:40 UTC 2019


Continue instead of breaking on the first engine.

Signed-off-by: Petri Latvala <petri.latvala at intel.com>
Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
---
 tests/i915/gem_exec_fence.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_exec_fence.c b/tests/i915/gem_exec_fence.c
index ba46595d..c6661626 100644
--- a/tests/i915/gem_exec_fence.c
+++ b/tests/i915/gem_exec_fence.c
@@ -274,7 +274,7 @@ static void test_fence_busy_all(int fd, unsigned flags)
 
 		if (all < 0) {
 			all = fence;
-			break;
+			continue;
 		}
 
 		new = sync_fence_merge(all, fence);
-- 
2.19.1



More information about the igt-dev mailing list