radeonsi: Disable EFC on VCN 2.2

VCN 2.2 doesn't support EFC.

Cc: mesa-stable

Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31198>
This commit is contained in:
David Rosca
2024-09-17 09:36:15 +02:00
committed by Marge Bot
parent 45377dc5c4
commit 009017c33c
+1
View File
@@ -1172,6 +1172,7 @@ static bool si_vid_is_target_buffer_supported(struct pipe_screen *screen,
target->buffer_format == PIPE_FORMAT_R10G10B10X2_UNORM;
if (sscreen->info.vcn_ip_version < VCN_2_0_0 ||
sscreen->info.vcn_ip_version == VCN_2_2_0 ||
sscreen->info.vcn_ip_version >= VCN_5_0_0 ||
sscreen->debug_flags & DBG(NO_EFC))
return false;