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>
This commit is contained in:
Chris Wilson 2012-10-16 11:59:28 +01:00
parent b42d81b63f
commit 2ad4aa1955
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}