mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
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:
parent
10fad5081d
commit
089e2cb6f9
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue