radeonsi: Disable av1 cdef_channel_strength for VCN4

VCN4 hardware doesn't support this feature, it can only be supported in VCN5.

Signed-off-by: Yinjie Yao <yinjie.yao@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35004>
This commit is contained in:
Yinjie Yao
2025-05-15 13:24:55 -04:00
committed by Marge Bot
parent 10fad5081d
commit 089e2cb6f9
+3 -2
View File
@@ -295,8 +295,9 @@ static int si_get_video_param(struct pipe_screen *screen, enum pipe_video_profil
attrib.bits.support_superres = PIPE_ENC_FEATURE_NOT_SUPPORTED;
attrib.bits.support_restoration = PIPE_ENC_FEATURE_NOT_SUPPORTED;
attrib.bits.support_allow_intrabc = PIPE_ENC_FEATURE_NOT_SUPPORTED;
attrib.bits.support_cdef_channel_strength = PIPE_ENC_FEATURE_SUPPORTED;
attrib.bits.support_cdef_channel_strength = PIPE_ENC_FEATURE_NOT_SUPPORTED;
if (sscreen->info.vcn_ip_version >= VCN_5_0_0)
attrib.bits.support_cdef_channel_strength = PIPE_ENC_FEATURE_SUPPORTED;
return attrib.value;
} else
return 0;