From 9792e7b58095dc03e63c105c494308ed771168f6 Mon Sep 17 00:00:00 2001 From: Ville Syrjälä Date: Fri, 9 Oct 2015 16:47:05 +0300 Subject: s/gem_mmap/gem_mmap__gtt/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Get rid of the gem_mmap() alias of gem_mmap__gtt(). I don't see any point in having it. Signed-off-by: Ville Syrjälä Stochastically-reviwewed-by: Chris Wilson --- tests/testdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testdisplay.c') diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 5f7ab1dd..af2c5b55 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -221,7 +221,7 @@ paint_color_key(struct igt_fb *fb_info) int i, j; uint32_t *fb_ptr; - fb_ptr = gem_mmap(drm_fd, fb_info->gem_handle, + fb_ptr = gem_mmap__gtt(drm_fd, fb_info->gem_handle, fb_info->size, PROT_READ | PROT_WRITE); igt_assert(fb_ptr); -- cgit v1.2.3