summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-10-16 11:59:28 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-10-16 11:59:28 +0100
commit2ad4aa195571fe214ccffa55e123507f1be66243 (patch)
tree1246c2079b152e5cf08c2c8aa8b9208d71fe73d9
parentb42d81b63f5b6a571faffaadd42c74adce40128a (diff)
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@chris-wilson.co.uk>
-rw-r--r--src/sna/kgem.h3
1 files changed, 0 insertions, 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;
}