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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user