summaryrefslogtreecommitdiff
path: root/tests/gem_render_tiled_blits.c
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2016-05-20 18:59:30 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2016-05-24 10:03:32 +0200
commite4e18ddc59155ba30b2df30cc9dfd18767b03cec (patch)
treee12b14c377e3b627e70d189fc38791fb5e252e15 /tests/gem_render_tiled_blits.c
parent29f080d5fb942badc8f02d459bc9174a23e9ee7c (diff)
tests/gem_render_tiled_blits: Switched to new aliases of intel specific functions.
Switched from drm_XXX aliases drm_intel_XXX aliases for symbols where that switch is possible. Signed-off-by: Robert Foss <robert.foss@collabora.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/gem_render_tiled_blits.c')
-rw-r--r--tests/gem_render_tiled_blits.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gem_render_tiled_blits.c b/tests/gem_render_tiled_blits.c
index fb2f39d2..9f0e5884 100644
--- a/tests/gem_render_tiled_blits.c
+++ b/tests/gem_render_tiled_blits.c
@@ -72,7 +72,7 @@ check_bo(struct intel_batchbuffer *batch, struct igt_buf *buf, uint32_t val)
render_copy(batch, NULL, buf, 0, 0, WIDTH, HEIGHT, &tmp, 0, 0);
if (snoop) {
- do_or_die(dri_bo_map(linear, 0));
+ do_or_die(drm_intel_bo_map(linear, 0));
ptr = linear->virtual;
} else {
do_or_die(drm_intel_bo_get_subdata(linear, 0, sizeof(data), data));
@@ -86,7 +86,7 @@ check_bo(struct intel_batchbuffer *batch, struct igt_buf *buf, uint32_t val)
val++;
}
if (ptr != data)
- dri_bo_unmap(linear);
+ drm_intel_bo_unmap(linear);
}
static void run_test (int fd, int count)