From patchwork Tue Jul 12 12:23:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viswanath Boma X-Patchwork-Id: 590658 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16485C433EF for ; Tue, 12 Jul 2022 12:24:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232900AbiGLMYW (ORCPT ); Tue, 12 Jul 2022 08:24:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232314AbiGLMYS (ORCPT ); Tue, 12 Jul 2022 08:24:18 -0400 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3BA54A5E45; Tue, 12 Jul 2022 05:24:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1657628656; x=1689164656; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=d9r/tdf0+ObtCSJlls88b4SKEF45LTl689Byo2z/09s=; b=ou9hpoht3uF7v6s6XAkPTe3idfphKzklUSppfZjH4oLzEV8rJCRuT5rC IC6o0QP2bnMPsoQzGLrDT15duioN4U7/ZeDBKIiarOnVd35RXA1FQuV5l Xs1yvM7RulCQoC6E2Yg7rymGu+BDRDeObhjCsp8ubn+Y0GGQbRRuZhx9/ 4=; Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 12 Jul 2022 05:24:16 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 12 Jul 2022 05:24:14 -0700 X-QCInternal: smtphost Received: from vboma-linux.qualcomm.com ([10.204.65.94]) by ironmsg01-blr.qualcomm.com with ESMTP; 12 Jul 2022 17:54:09 +0530 Received: by vboma-linux.qualcomm.com (Postfix, from userid 72083) id C0FAB900883; Tue, 12 Jul 2022 17:54:08 +0530 (IST) From: Viswanath Boma To: video.upstream.external@qti.qualcomm.com, Stanimir Varbanov , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Dikshita Agarwal , Viswanath Boma Subject: [PATCH 5/7] venus : Addition of support for VIDIOC_TRY_ENCODER_CMD Date: Tue, 12 Jul 2022 17:53:45 +0530 Message-Id: <20220712122347.6781-5-quic_vboma@quicinc.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220712122347.6781-1-quic_vboma@quicinc.com> References: <20220712122347.6781-1-quic_vboma@quicinc.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Dikshita Agarwal v4l2 compliance expecting support for vidioc_try_encoder_cmd error details : test VIDIOC_(TRY_)ENCODER_CMD: FAIL Change-Id: I87a655dc506f3e713e2c86ab5203ca9c45cc5e1b Signed-off-by: Viswanath Boma Acked-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/venc.c | 1 + 1 file changed, 1 insertion(+) 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)