[Intel-gfx] [PATCH 1/4] intel: Remove stale comment.

Eric Anholt eric at anholt.net
Fri Oct 28 22:17:12 CEST 2011


This used to be next to some map refcounting code, but that is long dead.
---
 intel/intel_bufmgr_gem.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 54433ea..94549f8 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -1010,9 +1010,6 @@ static int drm_intel_gem_bo_map(drm_intel_bo *bo, int write_enable)
 
 	pthread_mutex_lock(&bufmgr_gem->lock);
 
-	/* Allow recursive mapping. Mesa may recursively map buffers with
-	 * nested display loops.
-	 */
 	if (!bo_gem->mem_virtual) {
 		struct drm_i915_gem_mmap mmap_arg;
 
-- 
1.7.7




More information about the Intel-gfx mailing list