diff options
author | Eric Anholt <[email protected]> | 2009-06-05 15:14:15 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2009-06-09 15:21:16 -0700 |
commit | 2d57e9640819c7889304d1de9dd5500a1a0f66de (patch) | |
tree | ce2e46b12a215aa15121a08da1866bbe13779036 /src/mesa/drivers/dri/intel/intel_regions.c | |
parent | a03b349153660e449daf4f56d750f1caef23b1a5 (diff) |
intel: Fix intel_region_unmap to do unmap, not map.
Thanks to Shuang He for catching this.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_regions.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_regions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_regions.c b/src/mesa/drivers/dri/intel/intel_regions.c index fd9bf7b1741..49bcb3c1ddd 100644 --- 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_unmap_gtt(region->buffer); else dri_bo_unmap(region->buffer); region->map = NULL; |