Message ID | 20230321102855.346732-8-benjamin.gaignard@collabora.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1697857wrt; Tue, 21 Mar 2023 03:35:35 -0700 (PDT) X-Google-Smtp-Source: AK7set+uMkKTBxn2wRA2GUhAYhsAKc7vbEk8N4AUdx9zj+SsJiIAM5/K8OxQRLF6IVxxJsL3jcWk X-Received: by 2002:a17:902:f1cd:b0:19e:ad18:da5c with SMTP id e13-20020a170902f1cd00b0019ead18da5cmr1542393plc.37.1679394935256; Tue, 21 Mar 2023 03:35:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679394935; cv=none; d=google.com; s=arc-20160816; b=ZVujmMmho5DYAKtWwRujDpLaU3dLVRRDNSnN3rNmClWr/L2LW7IVuedtl7RK8quaqP t1F8kNFnMRJhSjBgZiM2jpy3304VeP5NsxdxFaPrZZZ7pZOLU1ut3krToan/07Y1I7IK mrqAK1PCQ4Pd34w7il7MNtOO8FRs5vGfB3B6B7eU3INpXcMldWHuAQ4gdIrs+6fcuLnI WjQWzVOX3SV2eXMDpI/ZsixCLSrG8B7pEUm2+BVx95Wp57giFymuXMLRl/v7ZTMVjm0U HecgLRJbegPmWdg+v1Vdv9uppQf2BBJE+OaW19oVU5OywqfxxH7p99NRkCF4LABdSm33 sqAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=tLZPxLve+Bb5khpnfrzBqqf5pcX3/KeML9kANfI1kQk=; b=a/6oV6yXMlzhpuVAKcOnSlCi/4t07c13j4GwkLVS+S0QqTkDOqQoubMt9jvjBTB7fV 5mInnzufSkxjMr5myILGv7cZ68atM3fXnMPujZeeTqOVZOb0EBkDaukWmZI4GBH1B3xC cetGTi08DugXyDtjqkTYuleuw35NfCaJbtQrQN8F0b0Jni/QAlBq2PMhSBtqA172VCq4 z6Z9gbW81x3BFOTTcoodlvYnDAhoeXs05wGzfd3GWLZW/t6SnVsMaIlp4x7JV7L3cnLV 0EZXSlDBJoHuZu6Xle2V6I6yy3G3nN1GoZgBin3vGfs3eleNCDqBJT7S9Hew9OKqUU5o 0WbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WButoN+n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020a170903228a00b001a19cbd4fb9si14421597plh.244.2023.03.21.03.35.22; Tue, 21 Mar 2023 03:35:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=WButoN+n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230322AbjCUKaD (ORCPT <rfc822;ezelljr.billy@gmail.com> + 99 others); Tue, 21 Mar 2023 06:30:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229961AbjCUK30 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 21 Mar 2023 06:29:26 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 559F62685C; Tue, 21 Mar 2023 03:29:20 -0700 (PDT) Received: from benjamin-XPS-13-9310.. (unknown [IPv6:2a01:e0a:120:3210:f5ef:1040:e3c1:3d00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: benjamin.gaignard) by madras.collabora.co.uk (Postfix) with ESMTPSA id A3E0066030EE; Tue, 21 Mar 2023 10:29:12 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1679394553; bh=Iem6HuAbjZeNxfcZHAnfFZWjJnJ1iJw/BVVWXexqEJU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WButoN+nNQSgZEerfDe52xiPWzHegqd9VQfxTzPkPgVJ/nAPKuov6Ae1l+BdAZDbr pc4b0sl58f/TaeR2yao2PDQLC08h2ldDoeTqn9LN1ahRrqK2ZoVDLklFZ97+UdZwat tfUBjdmxhrIhJCGrTJ6/sldyl3qieqNsbOijAx3fUvIVDqwE8Z1/15ZVWx/UGC3xF4 qcxN9/XJvRmDmywniptzSy00CA6mpAPbMIo9TpMhG/uh1alnO1YEeVo1jgTQ4E0HL5 XSeEHEuEwcXnBltev8vDXcUCE1BRyMdC8vqzTsDBFBhWUaab/3POgr65OjHNTFD9n5 BU6MGHEEVKWMg== From: Benjamin Gaignard <benjamin.gaignard@collabora.com> To: tfiga@chromium.org, m.szyprowski@samsung.com, mchehab@kernel.org, ming.qian@nxp.com, shijie.qin@nxp.com, eagle.zhou@nxp.com, bin.liu@mediatek.com, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, tiffany.lin@mediatek.com, andrew-ct.chen@mediatek.com, yunfei.dong@mediatek.com, stanimir.k.varbanov@gmail.com, quic_vgarodia@quicinc.com, agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, ezequiel@vanguardiasur.com.ar, p.zabel@pengutronix.de, daniel.almeida@collabora.com, hverkuil-cisco@xs4all.nl, laurent.pinchart@ideasonboard.com, jernel@kernel.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-rockchip@lists.infradead.org, kernel@collabora.com, Benjamin Gaignard <benjamin.gaignard@collabora.com> Subject: [PATCH v2 7/8] media: vim2m: Use v4l2-mem2mem helpers for VIDIOC_DELETE_BUF ioctl Date: Tue, 21 Mar 2023 11:28:54 +0100 Message-Id: <20230321102855.346732-8-benjamin.gaignard@collabora.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230321102855.346732-1-benjamin.gaignard@collabora.com> References: <20230321102855.346732-1-benjamin.gaignard@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760973223488538492?= X-GMAIL-MSGID: =?utf-8?q?1760973223488538492?= |
Series |
Add DELETE_BUF ioctl
|
|
Commit Message
Benjamin Gaignard
March 21, 2023, 10:28 a.m. UTC
Make vim2m support VIDIOC_DELETE_BUF ioctl.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
---
drivers/media/test-drivers/vim2m.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/test-drivers/vim2m.c b/drivers/media/test-drivers/vim2m.c index 7964426bf2f7..3500a3df66c8 100644 --- a/drivers/media/test-drivers/vim2m.c +++ b/drivers/media/test-drivers/vim2m.c @@ -960,6 +960,7 @@ static const struct v4l2_ioctl_ops vim2m_ioctl_ops = { .vidioc_dqbuf = v4l2_m2m_ioctl_dqbuf, .vidioc_prepare_buf = v4l2_m2m_ioctl_prepare_buf, .vidioc_create_bufs = v4l2_m2m_ioctl_create_bufs, + .vidioc_delete_buf = v4l2_m2m_ioctl_delete_buf, .vidioc_expbuf = v4l2_m2m_ioctl_expbuf, .vidioc_streamon = v4l2_m2m_ioctl_streamon,