diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2020-12-30 11:02:42 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2020-12-30 14:24:40 +0000 |
commit | 1384f8df232ae5232bf2db2de8cbd6f69b25236b (patch) | |
tree | c7878fe5ffd6bebb5cfe9ce7e288a353a4f7675a /tests/i915/gem_sync.c | |
parent | 3714a967f69f7c7d6ec32e7b09f64ceb0a11bec1 (diff) |
i915: Rename legacy for_each_engine to for_each_ring
Improve the differentiation between the legacy ring selector ABI and the
more recent engine selection API.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Diffstat (limited to 'tests/i915/gem_sync.c')
-rw-r--r-- | tests/i915/gem_sync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/i915/gem_sync.c b/tests/i915/gem_sync.c index a82bda92..6ad31517 100644 --- a/tests/i915/gem_sync.c +++ b/tests/i915/gem_sync.c @@ -25,6 +25,7 @@ #include <pthread.h> #include "i915/gem.h" +#include "i915/gem_ring.h" #include "igt_debugfs.h" #include "igt_dummyload.h" #include "igt_gt.h" @@ -1185,7 +1186,7 @@ igt_main /* Legacy for selecting rings. */ for_each_test(t, individual) { igt_subtest_with_dynamic_f("%s", t->name) { - for (const struct intel_execution_engine *l = intel_execution_engines; l->name; l++) { + for (const struct intel_execution_ring *l = intel_execution_rings; l->name; l++) { igt_dynamic_f("%s", l->name) { t->func(fd, eb_ring(l), t->num_children, t->timeout); |