From 81644198aeced288d26e17fadd8e5eb19798352f Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Mon, 22 Jun 2009 12:27:49 -0700 Subject: [PATCH] modetest: use gtt unmap for object Match gtt map/unmap for correctness. --- tests/modetest/modetest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c index 58e0e4c..6c69a57 100644 --- a/tests/modetest/modetest.c +++ b/tests/modetest/modetest.c @@ -447,7 +447,7 @@ create_test_buffer(drm_intel_bufmgr *bufmgr, d = div(i, width); fb_ptr[i] = 0x00130502 * (d.quot >> 6) + 0x000a1120 * (d.rem >> 6); } - drm_intel_bo_unmap(bo); + drm_intel_gem_bo_unmap_gtt(bo); *bo_out = bo; *stride_out = stride; -- 2.7.4