diff mbox series

[i-g-t] i915/gem_busy: Fix typo killing snb!

Message ID 20190524135434.31965-1-chris@chris-wilson.co.uk (mailing list archive)
State New, archived
Headers show
Series [i-g-t] i915/gem_busy: Fix typo killing snb! | expand

Commit Message

Chris Wilson May 24, 2019, 1:54 p.m. UTC
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@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
 tests/i915/gem_busy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andi Shyti May 24, 2019, 2:04 p.m. UTC | #1
> -			if (!gem_class_can_store_dword(fd, e->class))
> +			if (!gem_class_can_store_dword(fd, e2->class))
>  				continue;

ops!

Reviewed-by: Andi Shyti <andi.shyti@intel.com>

Thanks,
Andi

>  			igt_debug("Testing %s in parallel\n", e2->name);
> -- 
> 2.20.1
diff mbox series

Patch

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);