panfrost: Don't check for MTK_TILED when walking the native modifiers list
MTK_TILED is not in the native_mods list, so drop the check we had in this loop. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by: Lars-Ivar Hesselberg Simonsen <lars-ivar.simonsen@arm.com> Reviewed-by: Eric R. Smith <eric.smith@collabora.com> Acked-by: Daniel Stone <daniels@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35761>
This commit is contained in:
committed by
Marge Bot
parent
33eff977f6
commit
0cdb7f91b9
@@ -384,10 +384,6 @@ panfrost_walk_dmabuf_modifiers(struct pipe_screen *screen,
|
||||
if (drm_is_afrc(native_mods[i]) && !afrc)
|
||||
continue;
|
||||
|
||||
if (drm_is_mtk_tiled(native_mods[i]) &&
|
||||
!panfrost_format_supports_mtk_tiled(format))
|
||||
continue;
|
||||
|
||||
/* If the format is still YUV after lowering, the SW emulation might
|
||||
* involve plane aliasing which we can't do with U_TILED. */
|
||||
if (util_format_is_yuv(format) &&
|
||||
|
||||
Reference in New Issue
Block a user