From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH 1/2] uapi: update includes for drm content when no kernel API exists Date: Sat, 13 Oct 2012 12:33:32 +0200 Message-ID: <3084988.3Xup6S3alX@avalon> References: <1350085772-8755-1-git-send-email-mcgrof@do-not-panic.com> <1350085772-8755-2-git-send-email-mcgrof@do-not-panic.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <1350085772-8755-2-git-send-email-mcgrof@do-not-panic.com> Sender: linux-kernel-owner@vger.kernel.org To: "Luis R. Rodriguez" Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org, backports@vger.kernel.org, rob@ti.com, arnd@arndb.de, davej@redhat.com, airlied@linux.ie, bskeggs@redhat.com, alan@lxorguk.ukuu.org.uk, dhowells@redhat.com, tglx@linutronix.de, daniel.vetter@ffwll.ch, jbarnes@virtuousgeek.org, alexander.deucher@amd.com, paulmck@linux.vnet.ibm.com, gregkh@linuxfoundation.org List-Id: dri-devel@lists.freedesktop.org Hi Luis, On Friday 12 October 2012 16:49:31 Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > The UAPI changes split kernel API and userspace API > content onto two separate header files. The userspace > API drm content was moved to include/uapi/drm/ with the > same file name while kernel specific API content was > kept under include/drm/ with the same file name. When > one file was split into two files the kernel header > includes the uapi header and a UAPI prefix was added to > the uapi header for its header guard. When there was no > kernel API content found the uapi header file was the > only one that was kept and the original guard for the > header file was kept. In this particular case the > original users of this header file were not modified > and the uapi header file is expected to be picked up > by path. > > This may work well at compilation on the kernel but when > backporting this creates a few complexities. Could you please provide more details about those complexities ? > To help with > backporting [0] lets be explicit about the new uapi path > when there is no respective kernel API header file. For > more details on the UAPI changes see the lwn article on > this [1]. > > [0] https://backports.wiki.kernel.org > [1] http://lwn.net/Articles/507794/ > > Cc: dri-devel@lists.freedesktop.org > Cc: linux-kernel@vger.kernel.org > Cc: devel@driverdev.osuosl.org > Cc: backports@vger.kernel.org > > Cc: Rob Clark > Cc: Arnd Bergmann > Cc: Dave Jones > Cc: David Airlie > Cc: Ben Skeggs > Cc: Alan Cox > Cc: David Howells > Cc: Thomas Gleixner > Cc: Daniel Vetter > Cc: Jesse Barnes > Cc: Alex Deucher > Cc: Paul E. McKenney > Cc: Greg Kroah-Hartman > Cc: Laurent Pinchart > Signed-off-by: Luis R. Rodriguez -- Regards, Laurent Pinchart