xf86-video-intel: src/sna/kgem.h

Chris Wilson ickle at kemper.freedesktop.org
Tue Oct 16 04:09:12 PDT 2012


 src/sna/kgem.h |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 2ad4aa195571fe214ccffa55e123507f1be66243
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Tue Oct 16 11:59:28 2012 +0100

    sna: Drop fake tiled CPU mapping
    
    The only path where this is correct already handles it as the special
    case that it is, everywhere else it just nonsense.
    
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

diff --git a/src/sna/kgem.h b/src/sna/kgem.h
index e547215..c8813eb 100644
--- a/src/sna/kgem.h
+++ b/src/sna/kgem.h
@@ -510,9 +510,6 @@ static inline bool kgem_bo_mapped(struct kgem *kgem, struct kgem_bo *bo)
 	if (bo->map == NULL)
 		return bo->tiling == I915_TILING_NONE && bo->domain == DOMAIN_CPU;
 
-	if (bo->tiling == I915_TILING_X && !bo->scanout && kgem->has_llc)
-		return IS_CPU_MAP(bo->map);
-
 	return IS_CPU_MAP(bo->map) == !bo->tiling;
 }
 


More information about the xorg-commit mailing list