Message ID | 1349188056-4886-5-git-send-email-t.stanislaws@samsung.com |
---|---|
State | New |
Headers | show
Return-Path: <patch+caf_=linaro-patchwork=canonical.com@linaro.org> X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9DA301A5586 for <patchwork@peony.canonical.com>; Tue, 2 Oct 2012 14:28:33 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 632F1A1871C for <linaro-patchwork@canonical.com>; Tue, 2 Oct 2012 14:28:31 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so14258231iej.11 for <linaro-patchwork@canonical.com>; Tue, 02 Oct 2012 07:28:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:x-auditid :from:to:date:message-id:x-mailer:in-reply-to:references :x-brightmail-tracker:cc:subject:x-beenthere:x-mailman-version :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-gm-message-state; bh=+R9rOsztD1T4QGYfPdNHFWyW132inHMaSLi+7tgls6w=; b=I4wLdFzE+1MUNqqYJZFuAzIjfA87q7CtVkbIUXImqRziNPGBMdLBc5EAO7zNXVmoEw Y+UdYo3kGGkDPgBhn61UHbMlniZRJS5dLgvvZilt/GvQfOCgNLK4AQTYYJdBK21QRKrp sKJc3nDod7qh66IxkrDR2f12UR6UkgoBPjL4TahLeMa3vilf/4t3cGFyce+N8ft/ogJ2 d7ZpuN26s4/HLQmUoOI4S9AggI/jAmoaBwWHosIkPLv0RZaDgC+vtgG3DDha0IY3KJ3w FnC+5pcOaS+UoFU4ETLIQOLpssHnmJNt3zBddOq7imWU2oTm6jmkLweyw0E+Jc9/cZ9h 9C4Q== Received: by 10.50.184.129 with SMTP id eu1mr9093821igc.0.1349188111089; Tue, 02 Oct 2012 07:28:31 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp84941igc; Tue, 2 Oct 2012 07:28:30 -0700 (PDT) Received: by 10.204.146.10 with SMTP id f10mr6709343bkv.98.1349188109585; Tue, 02 Oct 2012 07:28:29 -0700 (PDT) Received: from mombin.canonical.com (mombin.canonical.com. [91.189.95.16]) by mx.google.com with ESMTP id iv7si1695735bkc.87.2012.10.02.07.28.28; Tue, 02 Oct 2012 07:28:29 -0700 (PDT) Received-SPF: neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) client-ip=91.189.95.16; Authentication-Results: mx.google.com; spf=neutral (google.com: 91.189.95.16 is neither permitted nor denied by best guess record for domain of linaro-mm-sig-bounces@lists.linaro.org) smtp.mail=linaro-mm-sig-bounces@lists.linaro.org Received: from localhost ([127.0.0.1] helo=mombin.canonical.com) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from <linaro-mm-sig-bounces@lists.linaro.org>) id 1TJ3SV-0004Xb-DS; Tue, 02 Oct 2012 14:28:27 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by mombin.canonical.com with esmtp (Exim 4.71) (envelope-from <t.stanislaws@samsung.com>) id 1TJ3ST-0004XD-Cd for linaro-mm-sig@lists.linaro.org; Tue, 02 Oct 2012 14:28:25 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MB9009TGS733500@mailout1.samsung.com> for linaro-mm-sig@lists.linaro.org; Tue, 02 Oct 2012 23:28:24 +0900 (KST) X-AuditID: cbfee61b-b7f2b6d000000f14-a4-506afa08a648 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id A0.81.03860.80AFA605; Tue, 02 Oct 2012 23:28:24 +0900 (KST) Received: from mcdsrvbld02.digital.local ([106.116.37.23]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MB9005A7S65K790@mmp2.samsung.com> for linaro-mm-sig@lists.linaro.org; Tue, 02 Oct 2012 23:28:24 +0900 (KST) From: Tomasz Stanislawski <t.stanislaws@samsung.com> To: linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org Date: Tue, 02 Oct 2012 16:27:15 +0200 Message-id: <1349188056-4886-5-git-send-email-t.stanislaws@samsung.com> X-Mailer: git-send-email 1.7.10 In-reply-to: <1349188056-4886-1-git-send-email-t.stanislaws@samsung.com> References: <1349188056-4886-1-git-send-email-t.stanislaws@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCJMWRmVeSWpSXmKPExsVy+t9jQV2OX1kBBlub+Cy+XHnI5MDocfvf Y+YAxigum5TUnMyy1CJ9uwSujCdTvjIWXOCouNnYwNjA2MbexcjJISFgIrFg5zQ2CFtM4sK9 9UA2F4eQwHRGie2r77FAOGuZJJ5+esQKUsUG1HFsyWdGEFtEwEHi9N1ZzCBFzAJrmCVerLwB NkpYwFXi5dXNYCtYBFQlWq4eAYvzCrhLdP/azgyxTl7i6f0+sDingIfEzycXWEBsIaCaPcub 2CYw8i5gZFjFKJpakFxQnJSea6RXnJhbXJqXrpecn7uJEez3Z9I7GFc1WBxiFOBgVOLh3XUy M0CINbGsuDL3EKMEB7OSCK/1/awAId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rzNHikBQgLpiSWp 2ampBalFMFkmDk6pBsbc77fn2J+X0Ev4Kq/huWaZyGfzDxczbFkX9UxO8ZQ3PbU8+EZg65V+ toRni28sCHvd0fE7k8P4d7DMM/b18ptev+a1bcu92LZMbcuJ9lMfeBba7bn1zodzvtI01b6t mhP6lmZMWuoSx7f3ofqk7Bovjt8zt004FtyoWmw9I/6zZafDGzsx3xdKLMUZiYZazEXFiQDo 1wu19wEAAA== Cc: k.debski@samsung.com, s.nawrocki@samsung.com, pawel@osciak.com, sumit.semwal@ti.com, mchehab@redhat.com, robdclark@gmail.com, linaro-mm-sig@lists.linaro.org, kyungmin.park@samsung.com, laurent.pinchart@ideasonboard.com, airlied@redhat.com, remi@remlab.net Subject: [Linaro-mm-sig] [PATCHv9 04/25] v4l: vb: remove warnings about MEMORY_DMABUF X-BeenThere: linaro-mm-sig@lists.linaro.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Unified memory management interest group." <linaro-mm-sig.lists.linaro.org> List-Unsubscribe: <http://lists.linaro.org/mailman/options/linaro-mm-sig>, <mailto:linaro-mm-sig-request@lists.linaro.org?subject=unsubscribe> List-Archive: <http://lists.linaro.org/pipermail/linaro-mm-sig> List-Post: <mailto:linaro-mm-sig@lists.linaro.org> List-Help: <mailto:linaro-mm-sig-request@lists.linaro.org?subject=help> List-Subscribe: <http://lists.linaro.org/mailman/listinfo/linaro-mm-sig>, <mailto:linaro-mm-sig-request@lists.linaro.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: linaro-mm-sig-bounces@lists.linaro.org Errors-To: linaro-mm-sig-bounces@lists.linaro.org X-Gm-Message-State: ALoCoQmtc2e2HULEu+36wZo+tQ/5l4/jF0IUvK7siuOqiyukxDoLy1Ab5D1I1+FRBKkYIKdMcNyD |
diff --git a/drivers/media/video/videobuf-core.c b/drivers/media/video/videobuf-core.c index bf7a326..5449e8a 100644 --- a/drivers/media/video/videobuf-core.c +++ b/drivers/media/video/videobuf-core.c @@ -335,6 +335,9 @@ static void videobuf_status(struct videobuf_queue *q, struct v4l2_buffer *b, case V4L2_MEMORY_OVERLAY: b->m.offset = vb->boff; break; + case V4L2_MEMORY_DMABUF: + /* DMABUF is not handled in videobuf framework */ + break; } b->flags = 0; @@ -405,6 +408,7 @@ int __videobuf_mmap_setup(struct videobuf_queue *q, break; case V4L2_MEMORY_USERPTR: case V4L2_MEMORY_OVERLAY: + case V4L2_MEMORY_DMABUF: /* nothing */ break; }