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 <ch...@chris-wilson.co.uk>
Cc: Andi Shyti <andi.sh...@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursu...@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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to