summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPetri Latvala <petri.latvala@intel.com>2019-03-14 12:27:40 +0200
committerChris Wilson <chris@chris-wilson.co.uk>2019-08-12 18:44:19 +0100
commit06d5765ab2daba9f8826a36ce99eb95b58d4ccf4 (patch)
treef5729ce797026cef7cd1464df2faf44421a4be67 /tests
parent5547010c29a332ccc861652db3abf726f880985a (diff)
gem_exec_fence: Really loop through all engines
Continue instead of breaking on the first engine. Signed-off-by: Petri Latvala <petri.latvala@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/i915/gem_exec_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/gem_exec_fence.c b/tests/i915/gem_exec_fence.c
index 0befb54f..20718292 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);