[RFC libdrm 2/6] libdrm: Add NVIDIA Tegra support

2014-02-19 Thread Thierry Reding
On Wed, Feb 19, 2014 at 09:03:51PM +0100, Erik Faye-Lund wrote: > On Wed, Feb 19, 2014 at 5:04 PM, Thierry Reding > wrote: > > +#ifndef __DRM_TEGRA_PRIVATE_H__ > > +#define __DRM_TEGRA_PRIVATE_H__ 1 > > + > > +#include > > +#include > > + > > +#include > > + > > +#include "tegra.h" > > + > > +#

[RFC libdrm 2/6] libdrm: Add NVIDIA Tegra support

2014-02-19 Thread Thierry Reding
On Wed, Feb 19, 2014 at 09:13:31PM +0100, Erik Faye-Lund wrote: > On Wed, Feb 19, 2014 at 5:04 PM, Thierry Reding > wrote: > > diff --git a/tegra/Makefile.am b/tegra/Makefile.am > > new file mode 100644 > > index ..1b83145b120d > > --- /dev/null > > +++ b/tegra/Makefile.am > > @@ -0,0

[RFC libdrm 2/6] libdrm: Add NVIDIA Tegra support

2014-02-19 Thread Erik Faye-Lund
On Wed, Feb 19, 2014 at 5:04 PM, Thierry Reding wrote: > diff --git a/tegra/Makefile.am b/tegra/Makefile.am > new file mode 100644 > index ..1b83145b120d > --- /dev/null > +++ b/tegra/Makefile.am > @@ -0,0 +1,20 @@ > +AM_CPPFLAGS = \ > + -I$(top_srcdir) \ > + -I$(top_srcdir

[RFC libdrm 2/6] libdrm: Add NVIDIA Tegra support

2014-02-19 Thread Erik Faye-Lund
On Wed, Feb 19, 2014 at 5:04 PM, Thierry Reding wrote: > +#ifndef __DRM_TEGRA_PRIVATE_H__ > +#define __DRM_TEGRA_PRIVATE_H__ 1 > + > +#include > +#include > + > +#include > + > +#include "tegra.h" > + > +#if defined(HAVE_VISIBILITY) > +# define drm_private __attribute__((visibility("hidden")))

[RFC libdrm 2/6] libdrm: Add NVIDIA Tegra support

2014-02-19 Thread RĂ©mi Cardona
Le mercredi 19 f?vrier 2014 ? 17:04 +0100, Thierry Reding a ?crit : > --- /dev/null > +++ b/include/drm/tegra_drm.h > @@ -0,0 +1,157 @@ > +/* > + * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved. ^^ [...] > + * THE SOFTWARE IS PROVIDED "AS IS",

[RFC libdrm 2/6] libdrm: Add NVIDIA Tegra support

2014-02-19 Thread Thierry Reding
From: Thierry Reding Add the libdrm_tegra helper library to encapsulate Tegra-specific interfaces to the DRM. Furthermore, Tegra is added to the list of supported chips in the modetest and vbltest programs. Signed-off-by: Thierry Reding Signed-off-by: Erik Faye-Lund Signed-off-by: Thierry Red