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

Erik Faye-Lund kusmabite at gmail.com
Wed Feb 19 12:03:51 PST 2014


On Wed, Feb 19, 2014 at 5:04 PM, Thierry Reding
<thierry.reding at gmail.com> wrote:
> +#ifndef __DRM_TEGRA_PRIVATE_H__
> +#define __DRM_TEGRA_PRIVATE_H__ 1
> +
> +#include <stdbool.h>
> +#include <stdint.h>
> +
> +#include <xf86atomic.h>
> +
> +#include "tegra.h"
> +
> +#if defined(HAVE_VISIBILITY)
> +#  define drm_private __attribute__((visibility("hidden")))
> +#  define drm_public __attribute__((visibility("default")))
> +#else
> +#  define drm_private
> +#  define drm_public
> +#endif
> +

Perhaps you could put this where it's visible to other drivers as
well, like xf86drm.h?


More information about the dri-devel mailing list