summaryrefslogtreecommitdiff
path: root/tests/i915/gem_concurrent_all.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2020-12-30 11:02:42 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2020-12-30 14:24:40 +0000
commit1384f8df232ae5232bf2db2de8cbd6f69b25236b (patch)
treec7878fe5ffd6bebb5cfe9ce7e288a353a4f7675a /tests/i915/gem_concurrent_all.c
parent3714a967f69f7c7d6ec32e7b09f64ceb0a11bec1 (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.c3
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);