From 2ad4aa195571fe214ccffa55e123507f1be66243 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Tue, 16 Oct 2012 11:59:28 +0100 Subject: [PATCH] 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 --- src/sna/kgem.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/sna/kgem.h b/src/sna/kgem.h index e547215b..c8813ebe 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; }