From: Alan Cox Subject: Re: [PATCH] dma-buf: Use EXPORT_SYMBOL Date: Thu, 11 Oct 2012 12:34:07 +0100 Message-ID: <20121011123407.63b5ecbe@pyramind.ukuu.org.uk> References: <1349884592-32485-1-git-send-email-rmorell@nvidia.com> <20121010191702.404edace@pyramind.ukuu.org.uk> <201210110857.15660.hverkuil@xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from lxorguk.ukuu.org.uk (lxorguk.ukuu.org.uk [81.2.110.251]) by gabe.freedesktop.org (Postfix) with ESMTP id 639E69E9D6 for ; Thu, 11 Oct 2012 04:29:07 -0700 (PDT) In-Reply-To: <201210110857.15660.hverkuil@xs4all.nl> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Hans Verkuil Cc: dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, Rob Clark , Sumit Semwal , linux-media@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org > The whole purpose of this API is to let DRM and V4L drivers share buffers for > zero-copy pipelines. Unfortunately it is a fact that several popular DRM drivers > are closed source. So we have a choice between keeping the export symbols GPL > and forcing those closed-source drivers to make their own incompatible API, > thus defeating the whole point of DMABUF, or using EXPORT_SYMBOL and letting > the closed source vendors worry about the legality. They are already using such > functions (at least nvidia is), so they clearly accept that risk. Then they can accept the risk of ignoring EXPORT_SYMBOL_GPL and calling into it anyway can't they. Your argument makes no rational sense of any kind. Alan