Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp625110ybc; Tue, 12 Nov 2019 06:52:33 -0800 (PST) X-Google-Smtp-Source: APXvYqw5yy8Dogn+sH/balACiLQbTPlDrZltsZNiKHw+1qwhAcZzncbWkLFdydurMStX10KiYte1 X-Received: by 2002:a17:906:c293:: with SMTP id r19mr28592833ejz.69.1573570353368; Tue, 12 Nov 2019 06:52:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573570353; cv=none; d=google.com; s=arc-20160816; b=J9MoJPHdMfcciU4Aj+Zl7EDlyEX981M/FvkiXaDeSNhNAI7z/m5olE4w7uNOYmTcpo L6yg8RlGQdJQQ6H2KFs/WKlK1Ran9W2XrZ73473uEIEUUEnGuLRmhddtIqXSRgs957BK krEvmmZGNz0p7gt3AhJg3wVcNBom2i37zEqG2Uu0du/EOCcGN9xj2cWyG5hp4cQ/Fnzy XqqcRF4s+MsgqCv4D0zXJwKp26ppAfWgjczAVnXXsTXDGGr1NBvVH4tFOGP/3xznYGKn NP1j/CAuGsBbnwgPCOirwLdZ8DBcl73x/79NDvUQFaMG3MHAVLdj/TRH2tXUB+dgVHzK mXbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=t5tk6tPjmy9D4wpjreK/rkQpiORR1vxY931cn9fLxT8=; b=IEVnksmWSWnlIhsWrkNo66FU/F0eRAu4fJt7BjqPO3Ma6FuLTwDX9/vGxVYLZ2hl+x y5X2KGwHszey2n15BuHhsxQThULtkvrCeTV+9B5K7eKYNz0/90OZr2foJW2ACwoIAkdk tTUKosp3kJASxL8kgfu1b11Ss0Dh6MYLxU0RXX7mKGMToKpAHxsjnPN4OUYEwvXqJFic bkNyp9Blkbmji4bJj6NFzgTabHFp3TKUw+nuBk6bhmE0RA0YWEJ0DlVX5HuBkeGz7H5D dBvv69GP5qinJGqPegLsF9JRg9Quiu0N5KvkPJJJE8sZknClVKGR53JTijTYrEoepvJ+ Iw4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CjV9omzO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e10si12449190edy.293.2019.11.12.06.52.08; Tue, 12 Nov 2019 06:52:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=CjV9omzO; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727417AbfKLOvJ (ORCPT + 99 others); Tue, 12 Nov 2019 09:51:09 -0500 Received: from fllv0015.ext.ti.com ([198.47.19.141]:43670 "EHLO fllv0015.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726936AbfKLOvI (ORCPT ); Tue, 12 Nov 2019 09:51:08 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id xACEopmx052177; Tue, 12 Nov 2019 08:50:51 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1573570251; bh=t5tk6tPjmy9D4wpjreK/rkQpiORR1vxY931cn9fLxT8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=CjV9omzOOgvJq3n5D6jOCTfNQpFFwKN4ijYaVfqwice+2DdzlJRtKHWLd/LIkfu/x vLDKe3IjPvR19NUe0zed/SKVeqR1xoagevnLAPoVBtR29Sb/eW+K1wyGm8ajQzjs+F BkO/4cs5pd0SAvyW5fa8Nkla+4RsvTJ3oeoxKQvM= Received: from DLEE115.ent.ti.com (dlee115.ent.ti.com [157.170.170.26]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTP id xACEopOd070332; Tue, 12 Nov 2019 08:50:51 -0600 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE115.ent.ti.com (157.170.170.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Tue, 12 Nov 2019 08:50:50 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Tue, 12 Nov 2019 08:50:50 -0600 Received: from uda0869644b.dal.design.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id xACEokep068428; Tue, 12 Nov 2019 08:50:50 -0600 From: Benoit Parrot To: Hans Verkuil , Sakari Ailus , Rob Herring CC: , , , Benoit Parrot , Jyri Sarha Subject: [RESEND Patch v3 05/20] media: ti-vpe: cal: Enable DMABUF export Date: Tue, 12 Nov 2019 08:53:32 -0600 Message-ID: <20191112145347.23519-6-bparrot@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191112145347.23519-1-bparrot@ti.com> References: <20191112145347.23519-1-bparrot@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allow CAL to be able to export DMA buffer. Signed-off-by: Benoit Parrot Signed-off-by: Jyri Sarha --- drivers/media/platform/ti-vpe/cal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/platform/ti-vpe/cal.c b/drivers/media/platform/ti-vpe/cal.c index b4616d02a25a..4f9a7609cb5f 100644 --- a/drivers/media/platform/ti-vpe/cal.c +++ b/drivers/media/platform/ti-vpe/cal.c @@ -1486,6 +1486,7 @@ static const struct v4l2_ioctl_ops cal_ioctl_ops = { .vidioc_querybuf = vb2_ioctl_querybuf, .vidioc_qbuf = vb2_ioctl_qbuf, .vidioc_dqbuf = vb2_ioctl_dqbuf, + .vidioc_expbuf = vb2_ioctl_expbuf, .vidioc_enum_input = cal_enum_input, .vidioc_g_input = cal_g_input, .vidioc_s_input = cal_s_input, -- 2.17.1