From patchwork Mon Dec 12 10:37:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 9470373 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 246EC60573 for ; Mon, 12 Dec 2016 10:37:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 14E6F28399 for ; Mon, 12 Dec 2016 10:37:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 09EF328456; Mon, 12 Dec 2016 10:37:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E3C728399 for ; Mon, 12 Dec 2016 10:37:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932308AbcLLKhP (ORCPT ); Mon, 12 Dec 2016 05:37:15 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:58901 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932196AbcLLKhP (ORCPT ); Mon, 12 Dec 2016 05:37:15 -0500 Received: from avalon.bb.dnainternet.fi (dfj612ybrt5fhg77mgycy-3.rev.dnainternet.fi [IPv6:2001:14ba:21f5:5b00:2e86:4862:ef6a:2804]) by galahad.ideasonboard.com (Postfix) with ESMTPSA id DA79F200DF; Mon, 12 Dec 2016 11:37:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1481539022; bh=0GYWVJfwtepWan4UHWxT2zJBc3dmkJZT2sbwxSg1kHM=; h=From:To:Cc:Subject:Date:From; b=F4FWDTvujkrBD/eafiLTQOyp9KE5r5D446U49UZ0PO7EMfFfWk4AS+Km3jO7h4YFx xPitHjZT5Op9U24joWJ/y3Fm49tTKvLju7+XgRJQ1KCcpZZfeRKqNVdPHjWSITRtpv 3n/psH7QRw6Zr5K7Dvjt83ry8ABM9tQoxYsQLGf8= From: Laurent Pinchart To: jacopo@jmondi.org Cc: linux-media@vger.kernel.org Subject: [PATCH] v4l: vsp1: Add VIDIOC_EXPBUF support Date: Mon, 12 Dec 2016 12:37:42 +0200 Message-Id: <1481539062-23179-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 2.7.3 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use the vb2 ioctl handler directly. Signed-off-by: Laurent Pinchart Tested-by: Jacopo Mondi --- drivers/media/platform/vsp1/vsp1_video.c | 1 + 1 file changed, 1 insertion(+) Jacopo, Does this fix your issue ? diff --git a/drivers/media/platform/vsp1/vsp1_video.c b/drivers/media/platform/vsp1/vsp1_video.c index fd3acf1a98a6..0113a55b19c9 100644 --- a/drivers/media/platform/vsp1/vsp1_video.c +++ b/drivers/media/platform/vsp1/vsp1_video.c @@ -1021,6 +1021,7 @@ static const struct v4l2_ioctl_ops vsp1_video_ioctl_ops = { .vidioc_querybuf = vb2_ioctl_querybuf, .vidioc_qbuf = vb2_ioctl_qbuf, .vidioc_dqbuf = vb2_ioctl_dqbuf, + .vidioc_expbuf = vb2_ioctl_expbuf, .vidioc_create_bufs = vb2_ioctl_create_bufs, .vidioc_prepare_buf = vb2_ioctl_prepare_buf, .vidioc_streamon = vsp1_video_streamon,