From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Morell Subject: Re: [PATCH] dma-buf: Use EXPORT_SYMBOL Date: Fri, 20 Jan 2012 10:04:57 -0800 Message-ID: <20120120180457.GE29824@morell.nvidia.com> References: <1326845297-6233-1-git-send-email-rmorell@nvidia.com> <1326845297-6233-2-git-send-email-rmorell@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: "Semwal, Sumit" Cc: Arnd Bergmann , Mauro Carvalho Chehab , Konrad Rzeszutek Wilk , "linux-kernel@vger.kernel.org" , "sumit.semwal@linaro.org" , "airlied@linux.ie" , "dri-devel@lists.freedesktop.org" List-Id: dri-devel@lists.freedesktop.org On Wed, Jan 18, 2012 at 01:10:04AM -0800, Semwal, Sumit wrote: > On Wed, Jan 18, 2012 at 5:38 AM, Robert Morell w= rote: > > EXPORT_SYMBOL_GPL is intended to be used for "an internal implement= ation > > issue, and not really an interface". =A0The dma-buf infrastructure = is > > explicitly intended as an interface between modules/drivers, so it > > should use EXPORT_SYMBOL instead. >=20 > + Konrad, Arnd, Mauro: there were strong objections on using > EXPORT_SYMBOL in place of EXPORT_SYMBOL_GPL by all 3 of them; I > suggest we first arrive at a consensus before merging this patch. This discussion seems to have stagnated; how do we move forward here? Sumit, as the primary author and new maintainer (congrats!) of the dma-buf infrastructure, it seems like it's really your call how to proceed. I'd still like to see this be something that we can use from the nvidia and fglrx drivers for Xorg buffer sharing, as I and Dave hav= e argued in this thread. It really seems to me that this change on a technical level won't have any adverse effect on the scenarios where it can be used today, but it will allow it to be used more widely, which will prevent duplication and fragmentation in the future and be greatly appreciated by users of hardware such as Optimus. Let me know if you have any questions. Thanks, Robert