[PATCH 2/6] drm: include kernel.h and agp_backend.h from intel-gtt.h
Jani Nikula
jani.nikula at intel.com
Thu Dec 27 12:56:37 UTC 2018
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>
---
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
More information about the dri-devel
mailing list