radeonsi: Enable transform_skip HEVC feature support

This used to be hardcoded in PPS, but now it can be selected by apps.
However, we were not reporting this feature as supported in HEVC feature
flags and apps would always disable it.

Fixes: af849516f0 ("radeonsi/vcn: Use pipe header params in HEVC header encoder")
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30842>
This commit is contained in:
David Rosca
2024-08-23 16:52:07 +02:00
committed by Marge Bot
parent 18f15da94d
commit 134e95cdb1

View File

@@ -733,6 +733,8 @@ static int si_get_video_param(struct pipe_screen *screen, enum pipe_video_profil
= PIPE_ENC_FEATURE_SUPPORTED;
if (sscreen->info.vcn_ip_version >= VCN_2_0_0)
pipe_features.bits.sao = PIPE_ENC_FEATURE_SUPPORTED;
if (sscreen->info.vcn_ip_version >= VCN_3_0_0)
pipe_features.bits.transform_skip = PIPE_ENC_FEATURE_SUPPORTED;
return pipe_features.value;
} else