radeonsi/vpe: correct capability

should return the capability that hardware can support

Signed-off-by: Peyton Lee <peytolee@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35361>
This commit is contained in:
Peyton Lee 2025-06-05 17:19:37 +08:00 committed by Marge Bot
parent ce3c1b018a
commit 548b026297

View file

@ -127,7 +127,7 @@ static int si_get_video_param(struct pipe_screen *screen, enum pipe_video_profil
/* VPE 1st generation does not support orientation
* Have to determine the version and features of VPE in future.
*/
return PIPE_VIDEO_VPP_ORIENTATION_DEFAULT;
return PIPE_VIDEO_VPP_FLIP_HORIZONTAL;
case PIPE_VIDEO_CAP_VPP_BLEND_MODES:
/* VPE 1st generation does not support blending.
* Have to determine the version and features of VPE in future.