ac/surface: Limit video modifiers to 64K_S also for VCN 2.2

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/14032
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37819>
This commit is contained in:
David Rosca
2025-10-10 16:13:14 +02:00
committed by Marge Bot
parent e7695cc7c7
commit 282e8285f1

View File

@@ -166,7 +166,7 @@ bool ac_modifier_supports_video(const struct radeon_info *info, uint64_t modifie
return false;
/* Only "S" swizzle modes supported */
if (info->vcn_ip_version < VCN_2_2_0 &&
if (info->vcn_ip_version < VCN_3_0_0 &&
AMD_FMT_MOD_GET(TILE, modifier) != AMD_FMT_MOD_TILE_GFX9_64K_S)
return false;
}