if (prefer_cpu_access(res, box, usage, level, map_would_stall))
usage |= PIPE_MAP_DIRECTLY;
- /* TODO: Teach iris_map_tiled_memcpy about Tile4 and Tile64... */
- if (res->surf.tiling == ISL_TILING_4 || res->surf.tiling == ISL_TILING_64)
+ /* TODO: Teach iris_map_tiled_memcpy about Tile64... */
+ if (res->surf.tiling == ISL_TILING_64)
usage &= ~PIPE_MAP_DIRECTLY;
if (!(usage & PIPE_MAP_DIRECTLY)) {
* take that path if we need the GPU to perform color compression, or
* stall-avoidance blits.
*
- * TODO: Teach isl_memcpy_linear_to_tiled about Tile4 and Tile64...
+ * TODO: Teach isl_memcpy_linear_to_tiled about Tile64...
*/
if (surf->tiling == ISL_TILING_LINEAR ||
- surf->tiling == ISL_TILING_4 ||
surf->tiling == ISL_TILING_64 ||
isl_aux_usage_has_compression(res->aux.usage) ||
resource_is_busy(ice, res) ||