summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/modetest/modetest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c
index 58e0e4cf..6c69a570 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;