summaryrefslogtreecommitdiff
path: root/tests/i915/gem_userptr_blits.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_userptr_blits.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_userptr_blits.c')
-rw-r--r--tests/i915/gem_userptr_blits.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/i915/gem_userptr_blits.c b/tests/i915/gem_userptr_blits.c
index 5e6973be..33b60300 100644
--- a/tests/i915/gem_userptr_blits.c
+++ b/tests/i915/gem_userptr_blits.c
@@ -61,6 +61,7 @@
#include "i915_drm.h"
#include "i915/gem.h"
+#include "i915/gem_ring.h"
#include "igt.h"
#include "igt_sysfs.h"
#include "sw_sync.h"
@@ -1522,7 +1523,7 @@ static void test_readonly(int i915)
gem_userptr(i915, space, total, true, userptr_flags, &rhandle);
- for_each_engine(e, i915) {
+ for_each_ring(e, i915) {
char *ref, *result;
/* First tweak the backing store through the write */