[Intel-gfx] [PATCH 2/6] drm: include kernel.h and agp_backend.h from intel-gtt.h
Daniel Vetter
daniel at ffwll.ch
Thu Dec 27 16:04:54 UTC 2018
On Thu, Dec 27, 2018 at 02:56:37PM +0200, Jani Nikula wrote:
> Make it easier to drop drmP.h includes.
>
> Cc: Sam Ravnborg <sam at ravnborg.org>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
Makes sense.
Reviewed-by: Daniel Vetter <daniel.vetter at ffwll.ch>
> ---
> include/drm/intel-gtt.h | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/include/drm/intel-gtt.h b/include/drm/intel-gtt.h
> index 2324c84a25c0..71d81923e6b0 100644
> --- a/include/drm/intel-gtt.h
> +++ b/include/drm/intel-gtt.h
> @@ -4,6 +4,9 @@
> #ifndef _DRM_INTEL_GTT_H
> #define _DRM_INTEL_GTT_H
>
> +#include <linux/agp_backend.h>
> +#include <linux/kernel.h>
> +
> void intel_gtt_get(u64 *gtt_total,
> phys_addr_t *mappable_base,
> resource_size_t *mappable_end);
> --
> 2.11.0
>
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
More information about the Intel-gfx
mailing list