diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-13 23:31:23 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-03-13 23:47:03 +0000 |
commit | a491cdbd7ceeb18a654111f5d7c10859ced99971 (patch) | |
tree | ecd4a22385b714427707024338e41c5d83143b8d /tests/i915/gem_ctx_persistence.c | |
parent | d792e30bf0451151c3c60ad1bdd52575b84605cd (diff) |
i915/gem_ctx_peristence: Use the canonical name for looking up the legacy engine
To set a property on an engine, we need to use its canonical name
(%class%instance).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'tests/i915/gem_ctx_persistence.c')
-rw-r--r-- | tests/i915/gem_ctx_persistence.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/i915/gem_ctx_persistence.c b/tests/i915/gem_ctx_persistence.c index 3b94ba96..1992c040 100644 --- a/tests/i915/gem_ctx_persistence.c +++ b/tests/i915/gem_ctx_persistence.c @@ -352,7 +352,7 @@ static void test_nohangcheck_hostile(int i915) igt_require(__enable_hangcheck(dir, false)); - for_each_physical_engine(e, i915) { + for_each_engine(e, i915) { uint32_t ctx = gem_context_create(i915); igt_spin_t *spin; @@ -389,7 +389,7 @@ static void test_nohangcheck_hang(int i915) igt_require(__enable_hangcheck(dir, false)); - for_each_physical_engine(e, i915) { + for_each_engine(e, i915) { uint32_t ctx = gem_context_create(i915); igt_spin_t *spin; @@ -1101,11 +1101,11 @@ igt_main for (test = tests; test->name; test++) { igt_subtest_with_dynamic_f("legacy-engines-%s", test->name) { - for_each_engine(e, i915) { + for_each_physical_engine(e, i915) { igt_dynamic_f("%s", e->name) { do_test(test->func, i915, eb_ring(e), - e->name); + e->full_name); } } } |