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_concurrent_all.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_concurrent_all.c')
-rw-r--r-- | tests/i915/gem_concurrent_all.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/i915/gem_concurrent_all.c b/tests/i915/gem_concurrent_all.c index da850a10..08bfc9fd 100644 --- a/tests/i915/gem_concurrent_all.c +++ b/tests/i915/gem_concurrent_all.c @@ -49,6 +49,7 @@ #include <drm.h> #include "i915/gem.h" +#include "i915/gem_ring.h" #include "igt.h" #include "igt_vgem.h" @@ -966,7 +967,7 @@ static igt_hang_t all_hang(void) { igt_hang_t hang = igt_hang_ring(fd, I915_EXEC_RENDER); - for_each_physical_engine(e, fd) { + for_each_physical_ring(e, fd) { struct drm_i915_gem_execbuffer2 eb = hang.spin->execbuf; eb.flags = eb_ring(e); |