Re: [PATCH 5/7] venus : Addition of support for VIDIOC_TRY_ENCODER_CMD
From: Stanimir Varbanov
Date: Tue Jul 26 2022 - 06:06:02 EST
On 7/12/22 15:23, Viswanath Boma wrote:
> From: Dikshita Agarwal <dikshita@xxxxxxxxxxxxxx>
>
> v4l2 compliance expecting support for vidioc_try_encoder_cmd
> error details : test VIDIOC_(TRY_)ENCODER_CMD: FAIL
>
> Change-Id: I87a655dc506f3e713e2c86ab5203ca9c45cc5e1b
Drop Change-Id and add Dikshita's Signed-off tag.
> Signed-off-by: Viswanath Boma <quic_vboma@xxxxxxxxxxx>
> ---
> drivers/media/platform/qcom/venus/venc.c | 1 +
> 1 file changed, 1 insertion(+)
With above comments fixed you can add my:
Acked-by: Stanimir Varbanov <stanimir.varbanov@xxxxxxxxxx>
>
> diff --git a/drivers/media/platform/qcom/venus/venc.c b/drivers/media/platform/qcom/venus/venc.c
> index 30ddb84c24997..4f10f5de7e3e6 100644
> --- a/drivers/media/platform/qcom/venus/venc.c
> +++ b/drivers/media/platform/qcom/venus/venc.c
> @@ -589,6 +589,7 @@ static const struct v4l2_ioctl_ops venc_ioctl_ops = {
> .vidioc_subscribe_event = venc_subscribe_event,
> .vidioc_unsubscribe_event = v4l2_event_unsubscribe,
> .vidioc_encoder_cmd = venc_encoder_cmd,
> + .vidioc_try_encoder_cmd = v4l2_m2m_ioctl_try_encoder_cmd,
> };
>
> static int venc_pm_get(struct venus_inst *inst)
--
regards,
Stan