projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a03b349
)
intel: Fix intel_region_unmap to do unmap, not map.
author
Eric Anholt
<eric@anholt.net>
Fri, 5 Jun 2009 15:14:15 +0000
(15:14 +0000)
committer
Eric Anholt
<eric@anholt.net>
Tue, 9 Jun 2009 22:21:16 +0000
(15:21 -0700)
Thanks to Shuang He for catching this.
src/mesa/drivers/dri/intel/intel_regions.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_regions.c
b/src/mesa/drivers/dri/intel/intel_regions.c
index fd9bf7b17410f768165d3e24f178d133e05f9875..49bcb3c1ddd04f91f48471dbaf28512f020d1ecc 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_regions.c
+++ b/
src/mesa/drivers/dri/intel/intel_regions.c
@@
-132,7
+132,7
@@
intel_region_unmap(struct intel_context *intel, struct intel_region *region)
_DBG("%s %p\n", __FUNCTION__, region);
if (!--region->map_refcount) {
if (intel->intelScreen->kernel_exec_fencing)
- drm_intel_gem_bo_map_gtt(region->buffer);
+ drm_intel_gem_bo_
un
map_gtt(region->buffer);
else
dri_bo_unmap(region->buffer);
region->map = NULL;