From patchwork Fri Feb 21 08:45:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 210818 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD7D1C35641 for ; Fri, 21 Feb 2020 08:45:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA29C206DB for ; Fri, 21 Feb 2020 08:45:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=xs4all.nl header.i=@xs4all.nl header.b="CD/x78ic" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730461AbgBUIpl (ORCPT ); Fri, 21 Feb 2020 03:45:41 -0500 Received: from lb3-smtp-cloud8.xs4all.net ([194.109.24.29]:42819 "EHLO lb3-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729731AbgBUIph (ORCPT ); Fri, 21 Feb 2020 03:45:37 -0500 Received: from tschai.fritz.box ([46.9.235.248]) by smtp-cloud8.xs4all.net with ESMTPA id 53wBjunHFPKvK53wFjhWPI; Fri, 21 Feb 2020 09:45:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1582274735; bh=6r3JdgwIE2PSKQiGn/76VxWQeu7sf1Oyj29zt6+NQFw=; h=From:To:Subject:Date:Message-Id:MIME-Version:From:Subject; b=CD/x78icKF/m8De7t/EBrdJKxlSA461gK0xxcmJhEPbDlXB7OOotv+vVUdqEW99M0 OzHw9sUfHXzBY2m8tWM3kirNAnqfaWlscUbhT6BxV8pOJF8fLK3kr6QF6YTcwYlYdN 2xg+U4wGDBndA7MNOe71xLaW47Rm2b2Krh5pkiHCmURMw6ySHTfyTvTnJkz/tUMwk2 WNS1OP2g6dAIcZEcvxESIlC/2Zpilu4iaqtsAXElCrg8x9GoYR9Edpn84okt6YfbMN Sm7yWCSReWIFjZMsaGBhto7yJR897LUk94KM7APiTTFqlqeOyyToxsgY5EsXEqlczP U75V+It1gJK0A== From: Hans Verkuil To: linux-media@vger.kernel.org Cc: Hans Verkuil Subject: [RFC PATCH 1/9] mtk-vcodec: drop VB2_USERPTR Date: Fri, 21 Feb 2020 09:45:23 +0100 Message-Id: <20200221084531.576156-2-hverkuil-cisco@xs4all.nl> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200221084531.576156-1-hverkuil-cisco@xs4all.nl> References: <20200221084531.576156-1-hverkuil-cisco@xs4all.nl> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfAjnkLiP7q4gZpqplTpKO1fI2iBbMeQqXKDivYFuayAtK838oEK2l/w7lRMJCTMEnYgxY3oatVhS7EIvQ5k6wuKVuM+AgLt+sWUGhSm8h1c85bacquQJ La1mzHvPUThJhvxp4DbeWijT4sjk+MVbD4hL64WkyK3N7ExcLR4+6czkr9xhqlXm5Y2q189fe+0kmURrEfjzTt4os+u6kEmC0swWuvJB9/PGEl40COs+yBEh Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Signed-off-by: Hans Verkuil --- drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c index d469ff6464b2..910228922791 100644 --- a/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c +++ b/drivers/media/platform/mtk-vcodec/mtk_vcodec_enc.c @@ -1274,13 +1274,8 @@ int mtk_vcodec_enc_queue_init(void *priv, struct vb2_queue *src_vq, struct mtk_vcodec_ctx *ctx = priv; int ret; - /* Note: VB2_USERPTR works with dma-contig because mt8173 - * support iommu - * https://patchwork.kernel.org/patch/8335461/ - * https://patchwork.kernel.org/patch/7596181/ - */ src_vq->type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE; - src_vq->io_modes = VB2_DMABUF | VB2_MMAP | VB2_USERPTR; + src_vq->io_modes = VB2_DMABUF | VB2_MMAP; src_vq->drv_priv = ctx; src_vq->buf_struct_size = sizeof(struct mtk_video_enc_buf); src_vq->ops = &mtk_venc_vb2_ops; @@ -1294,7 +1289,7 @@ int mtk_vcodec_enc_queue_init(void *priv, struct vb2_queue *src_vq, return ret; dst_vq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; - dst_vq->io_modes = VB2_DMABUF | VB2_MMAP | VB2_USERPTR; + dst_vq->io_modes = VB2_DMABUF | VB2_MMAP; dst_vq->drv_priv = ctx; dst_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer); dst_vq->ops = &mtk_venc_vb2_ops; From patchwork Fri Feb 21 08:45:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 210819 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 37812C35642 for ; Fri, 21 Feb 2020 08:45:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 00B13206ED for ; Fri, 21 Feb 2020 08:45:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=xs4all.nl header.i=@xs4all.nl header.b="WBejs3kO" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730008AbgBUIph (ORCPT ); Fri, 21 Feb 2020 03:45:37 -0500 Received: from lb2-smtp-cloud8.xs4all.net ([194.109.24.25]:43551 "EHLO lb2-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729591AbgBUIph (ORCPT ); Fri, 21 Feb 2020 03:45:37 -0500 Received: from tschai.fritz.box ([46.9.235.248]) by smtp-cloud8.xs4all.net with ESMTPA id 53wBjunHFPKvK53wFjhWPL; Fri, 21 Feb 2020 09:45:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1582274735; bh=42b7xae8iAO+KuVPG47I08KuZYY7QuUJ5DBpipC/8Xc=; h=From:To:Subject:Date:Message-Id:MIME-Version:From:Subject; b=WBejs3kOnU1ahPyHPZ7X2tpdA4sodGIUwAX6wfJqWk3HYEif4IBgIIXw/Xf3oLbo5 8FlmSWxNCBezv67B8wPWrjpQxNwPYgrv+wvqVNKblkxDoMWPz4HttZ+V5ni53NRVzE mTw5GXU0tFTQWPEyeR0aaPF3Histi786/x+V/h7nY4tPJnha8AzOeUHoJY6hS0Rzhp /FYCx4jC6dCCbW2Eqg99W4q8G5ak531FORuAKcTdgOF5ZuDYiFcktwa6s2pcbrYEOt 9f9KSLYOIQJDn8YG2eZAqHJp2l5MvwQ6T8YmvZRmNnIqkDqDm6guXIxrVCNkbeJvOe jmkj8qyXhYqvg== From: Hans Verkuil To: linux-media@vger.kernel.org Cc: Hans Verkuil Subject: [RFC PATCH 2/9] solo6x10: drop VB2_USERPTR Date: Fri, 21 Feb 2020 09:45:24 +0100 Message-Id: <20200221084531.576156-3-hverkuil-cisco@xs4all.nl> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200221084531.576156-1-hverkuil-cisco@xs4all.nl> References: <20200221084531.576156-1-hverkuil-cisco@xs4all.nl> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfAjnkLiP7q4gZpqplTpKO1fI2iBbMeQqXKDivYFuayAtK838oEK2l/w7lRMJCTMEnYgxY3oatVhS7EIvQ5k6wuKVuM+AgLt+sWUGhSm8h1c85bacquQJ La1mzHvPUThJhvxp4DbeWijT4sjk+MVbD4hL64WkyK3N7ExcLR4+6czkr9xhqlXm5Y2q189fe+0kmURrEfjzTt4os+u6kEmC0swWuvJB9/PGEl40COs+yBEh Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The combination of VB2_USERPTR and dma-contig makes no sense for this device, drop it. Signed-off-by: Hans Verkuil --- drivers/media/pci/solo6x10/solo6x10-v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/solo6x10/solo6x10-v4l2.c b/drivers/media/pci/solo6x10/solo6x10-v4l2.c index 9d290099b7a0..8a5ece6465a2 100644 --- a/drivers/media/pci/solo6x10/solo6x10-v4l2.c +++ b/drivers/media/pci/solo6x10/solo6x10-v4l2.c @@ -667,7 +667,7 @@ int solo_v4l2_init(struct solo_dev *solo_dev, unsigned nr) video_set_drvdata(solo_dev->vfd, solo_dev); solo_dev->vidq.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - solo_dev->vidq.io_modes = VB2_MMAP | VB2_USERPTR | VB2_READ | VB2_DMABUF; + solo_dev->vidq.io_modes = VB2_MMAP | VB2_READ | VB2_DMABUF; solo_dev->vidq.ops = &solo_video_qops; solo_dev->vidq.mem_ops = &vb2_dma_contig_memops; solo_dev->vidq.drv_priv = solo_dev; From patchwork Fri Feb 21 08:45:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 210816 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 179E0C35643 for ; Fri, 21 Feb 2020 08:46:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D2DC82073A for ; Fri, 21 Feb 2020 08:46:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=xs4all.nl header.i=@xs4all.nl header.b="kXHB7C4J" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732565AbgBUIqt (ORCPT ); Fri, 21 Feb 2020 03:46:49 -0500 Received: from lb3-smtp-cloud8.xs4all.net ([194.109.24.29]:54399 "EHLO lb3-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728761AbgBUIql (ORCPT ); Fri, 21 Feb 2020 03:46:41 -0500 Received: from tschai.fritz.box ([46.9.235.248]) by smtp-cloud8.xs4all.net with ESMTPA id 53xEjunXDPKvK53xHjhWWE; Fri, 21 Feb 2020 09:46:39 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1582274799; bh=ra+c3Ufy0VWHCHsRdQ0qpxgmqP9MAJxEIIWCMzUQw1k=; h=From:To:Subject:Date:Message-Id:MIME-Version:From:Subject; b=kXHB7C4JJOnYFsFOZsw46a+TNFj/FVodNYP+wRsJGkd3jIawtPEzsPjyJ5vvfVhki Qr+QiSbwoOucoEDXrWWkvmECAS8nGJv0uoJBBegYpV10DfF2Vq2W7fN3VEndFW8LDi lJHqJu9vSm1IjiTk3WN6utmt2s0caSiwzS5sTwUPXptdLyuJ6aEqlGzLtdgcAvzu7w 7IGpZ/9Oby/iGAO+3y7REetOPAlJWrJigRjas3aqinqwsy0rjUR85rtEzuG50MioJb graw3wgTZ5bHfZhGu25Rwwu2qx80bw3kgB7t6lOx1o/R3YzzfGy9Y4gCUX2dHhzMkp zq7q2I9XT1EiQ== From: Hans Verkuil To: linux-media@vger.kernel.org Cc: Hans Verkuil Subject: [RFC PATCH 5/9] sh_veu: drop VB2_USERPTR Date: Fri, 21 Feb 2020 09:45:27 +0100 Message-Id: <20200221084531.576156-6-hverkuil-cisco@xs4all.nl> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200221084531.576156-1-hverkuil-cisco@xs4all.nl> References: <20200221084531.576156-1-hverkuil-cisco@xs4all.nl> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfGQ+Mz8+eZr5l5sM+8r0tyCOWMT7xuPVNkC5DPZcqNik9UQFVALGO13aRtxJP1vlp0W18Sf2BT+113CCmru7kQedIHxgLQIl6z2pnfjqhJrsVEFPX6ji vJ+XY9ceKuByj8ko38YD3GZeP/kgusdXcR/vLXOCMXnWq7ImMaFq7OqC00JDEY99ap6HroSo334ca/CHjKv5GdhMnlB+XUdWqtvH5DtEzB9E6dNIJu7jk4vR Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The combination of VB2_USERPTR and dma-contig makes no sense for this device, drop it. Signed-off-by: Hans Verkuil --- drivers/media/platform/sh_veu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c index b95a7e2ede55..fc5b31da6f83 100644 --- a/drivers/media/platform/sh_veu.c +++ b/drivers/media/platform/sh_veu.c @@ -924,7 +924,7 @@ static int sh_veu_queue_init(void *priv, struct vb2_queue *src_vq, memset(src_vq, 0, sizeof(*src_vq)); src_vq->type = V4L2_BUF_TYPE_VIDEO_OUTPUT; - src_vq->io_modes = VB2_MMAP | VB2_DMABUF | VB2_USERPTR; + src_vq->io_modes = VB2_MMAP | VB2_DMABUF; src_vq->drv_priv = veu; src_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer); src_vq->ops = &sh_veu_qops; @@ -939,7 +939,7 @@ static int sh_veu_queue_init(void *priv, struct vb2_queue *src_vq, memset(dst_vq, 0, sizeof(*dst_vq)); dst_vq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - dst_vq->io_modes = VB2_MMAP | VB2_DMABUF | VB2_USERPTR; + dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; dst_vq->drv_priv = veu; dst_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer); dst_vq->ops = &sh_veu_qops; From patchwork Fri Feb 21 08:45:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 210817 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.9 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F2CCC35644 for ; Fri, 21 Feb 2020 08:46:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5C3622073A for ; Fri, 21 Feb 2020 08:46:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=xs4all.nl header.i=@xs4all.nl header.b="GW6MTCGZ" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732546AbgBUIqs (ORCPT ); Fri, 21 Feb 2020 03:46:48 -0500 Received: from lb3-smtp-cloud8.xs4all.net ([194.109.24.29]:56623 "EHLO lb3-smtp-cloud8.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729567AbgBUIql (ORCPT ); Fri, 21 Feb 2020 03:46:41 -0500 Received: from tschai.fritz.box ([46.9.235.248]) by smtp-cloud8.xs4all.net with ESMTPA id 53xEjunXDPKvK53xHjhWWG; Fri, 21 Feb 2020 09:46:40 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xs4all.nl; s=s1; t=1582274800; bh=O7jgYuGfAnKmBteKeix1dNFCsEIyToRc5U4bcG07CAs=; h=From:To:Subject:Date:Message-Id:MIME-Version:From:Subject; b=GW6MTCGZQ7qVKpFSuX2/Wis64xM2coOVbKDKp0uFyllizz0lrAbyCYCyY8EfAa3wH etQS150I8dFdOXXlUmkztKeyphWUuXR0Ek4ty51e4apzUCV6OBbS+2UtRbyKbJtRmo 89xMsqTHDfZ1CpwqP9X0w1ab3rDYsdBohvKkwLQ8g/uKQtYo9Jj0vZmQ2GxcoKdKlQ gbMTKeltLyjVwGZna+LoEr4DejB0HnjQ7PWetZWgWO0sUHIcrp014Vg38gHyqN7Nb3 UR/hfhOz67FEtpfECn2n76zupXhQeWl6qE8sYQTtgihfRjZ0JDA8Rhf4qOLT0/xyv4 EOknWMXIhXGwA== From: Hans Verkuil To: linux-media@vger.kernel.org Cc: Hans Verkuil Subject: [RFC PATCH 6/9] mx2_emmaprp: drop VB2_USERPTR Date: Fri, 21 Feb 2020 09:45:28 +0100 Message-Id: <20200221084531.576156-7-hverkuil-cisco@xs4all.nl> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200221084531.576156-1-hverkuil-cisco@xs4all.nl> References: <20200221084531.576156-1-hverkuil-cisco@xs4all.nl> MIME-Version: 1.0 X-CMAE-Envelope: MS4wfO7GlvQYMSL3MXpQ22kDKPL4eYxS2tdiyqRWr9VUDSTGtnwKTjpOhmLvBLlcbeerwSN2n1GCZrlmlbL3+a4Ixldw95R+RKBpfWqU4M/v0L1PJh1nCqA7 BeCkt2g+WHPiGJyWIjEuEYrqxMyqBquZ4bjaLeHKYvKtii3ggCsNW5lwiZRWdTCw5Hd1smhRTMBqYsIwSm+8MG7Rqu/q+GAcZn2MziCNma2QQWveBZQck5Oe Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The combination of VB2_USERPTR and dma-contig makes no sense for this device, drop it. Signed-off-by: Hans Verkuil --- drivers/media/platform/mx2_emmaprp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/platform/mx2_emmaprp.c b/drivers/media/platform/mx2_emmaprp.c index 27779b75df54..832871c08a21 100644 --- a/drivers/media/platform/mx2_emmaprp.c +++ b/drivers/media/platform/mx2_emmaprp.c @@ -688,7 +688,7 @@ static int queue_init(void *priv, struct vb2_queue *src_vq, int ret; src_vq->type = V4L2_BUF_TYPE_VIDEO_OUTPUT; - src_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; + src_vq->io_modes = VB2_MMAP | VB2_DMABUF; src_vq->drv_priv = ctx; src_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer); src_vq->ops = &emmaprp_qops; @@ -702,7 +702,7 @@ static int queue_init(void *priv, struct vb2_queue *src_vq, return ret; dst_vq->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; - dst_vq->io_modes = VB2_MMAP | VB2_USERPTR | VB2_DMABUF; + dst_vq->io_modes = VB2_MMAP | VB2_DMABUF; dst_vq->drv_priv = ctx; dst_vq->buf_struct_size = sizeof(struct v4l2_m2m_buffer); dst_vq->ops = &emmaprp_qops;