diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-24 14:52:40 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-24 15:06:03 +0100 |
commit | 9ab4576a705f2b83db34071afd4808028e15929f (patch) | |
tree | 831ff93a9e643ce387c43afabc78700d42599812 /tests/i915/gem_busy.c | |
parent | 204a719b71b74d8e5480da8fa10b3353fc82e7dd (diff) |
i915/gem_busy: Fix typo killing snb!
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>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Diffstat (limited to 'tests/i915/gem_busy.c')
-rw-r--r-- | tests/i915/gem_busy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/i915/gem_busy.c b/tests/i915/gem_busy.c index f3ebb37a..a5535870 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); |