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:
parent
b42d81b63f
commit
2ad4aa1955
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue