radeonsi/vpe: vpe support hdr input
when an application asks for supported formats will return HDR formats(2020, explicit) is supported. Signed-off-by: Peyton Lee <peytolee@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33731>
This commit is contained in:
@@ -174,6 +174,10 @@ static int si_get_video_param(struct pipe_screen *screen, enum pipe_video_profil
|
||||
case PIPE_VIDEO_CAP_SUPPORTS_INTERLACED:
|
||||
/* for VPE we prefer non-interlaced buffer */
|
||||
return false;
|
||||
case PIPE_VIDEO_CAP_VPP_SUPPORT_HDR_INPUT:
|
||||
if (debug_get_bool_option("AMDGPU_SIVPE_SUPPORT_HDR_INPUT", false))
|
||||
return true;
|
||||
return false;
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user