[Intel-gfx] [PATCH i-g-t] i915/gem_busy: Fix typo killing snb!
Chris Wilson
chris at chris-wilson.co.uk
Fri May 24 13:54:34 UTC 2019
Check the right engine to see if it is the one that explodes!
Fixes: 88318b0771f9 ("test/i915: gem_busy: use the gem_engine_topology library")
Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti at intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
tests/i915/gem_busy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/i915/gem_busy.c b/tests/i915/gem_busy.c
index f3ebb37a3..a55358708 100644
--- a/tests/i915/gem_busy.c
+++ b/tests/i915/gem_busy.c
@@ -256,7 +256,7 @@ static void one(int fd, const struct intel_execution_engine2 *e, unsigned test_f
e2->instance == e->instance)
continue;
- if (!gem_class_can_store_dword(fd, e->class))
+ if (!gem_class_can_store_dword(fd, e2->class))
continue;
igt_debug("Testing %s in parallel\n", e2->name);
--
2.20.1
More information about the Intel-gfx
mailing list