[Intel-gfx] [RFC i-g-t 6/9] tests/gem_render_tiled_blits: Switched to new aliases of intel specific functions.

robert.foss at collabora.com robert.foss at collabora.com
Fri May 20 22:59:30 UTC 2016


From: Robert Foss <robert.foss at collabora.com>

Switched from drm_XXX aliases drm_intel_XXX aliases for symbols where that
switch is possible.

Signed-off-by: Robert Foss <robert.foss at collabora.com>
---
 tests/gem_render_tiled_blits.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/gem_render_tiled_blits.c b/tests/gem_render_tiled_blits.c
index fb2f39d..9f0e588 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)
-- 
2.7.4



More information about the Intel-gfx mailing list