projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fa2db1
)
modetest: use gtt unmap for object
author
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 22 Jun 2009 19:27:49 +0000
(12:27 -0700)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Mon, 22 Jun 2009 19:27:49 +0000
(12:27 -0700)
Match gtt map/unmap for correctness.
tests/modetest/modetest.c
patch
|
blob
|
history
diff --git
a/tests/modetest/modetest.c
b/tests/modetest/modetest.c
index
58e0e4c
..
6c69a57
100644
(file)
--- 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;