diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-10-16 11:59:28 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-10-16 11:59:28 +0100 |
commit | 2ad4aa195571fe214ccffa55e123507f1be66243 (patch) | |
tree | 1246c2079b152e5cf08c2c8aa8b9208d71fe73d9 | |
parent | b42d81b63f5b6a571faffaadd42c74adce40128a (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.h | 3 |
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; } |