Instead we should disable it if tiling modifier is not here and we
already do that.
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4029>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4029>
if (!has_user_modifiers && (templat->bind & PIPE_BIND_SHARED))
should_tile = false;
- if (drm_find_modifier(DRM_FORMAT_MOD_LINEAR, modifiers, count))
- should_tile = false;
-
if (has_user_modifiers &&
!drm_find_modifier(DRM_FORMAT_MOD_ARM_16X16_BLOCK_U_INTERLEAVED,
modifiers, count))