summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-06-22 12:27:49 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-06-22 12:27:49 -0700
commit81644198aeced288d26e17fadd8e5eb19798352f (patch)
treee939d106423bb247ba21542303aedbff60e6bdaf /tests
parent2fa2db138ba989bfa1a8cd9ab66d83fb7369249e (diff)
modetest: use gtt unmap for object
Match gtt map/unmap for correctness.
Diffstat (limited to 'tests')
-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;