hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/include/drm/intel-gtt.h
....@@ -4,6 +4,10 @@
44 #ifndef _DRM_INTEL_GTT_H
55 #define _DRM_INTEL_GTT_H
66
7
+#include <linux/agp_backend.h>
8
+#include <linux/intel-iommu.h>
9
+#include <linux/kernel.h>
10
+
711 void intel_gtt_get(u64 *gtt_total,
812 phys_addr_t *mappable_base,
913 resource_size_t *mappable_end);
....@@ -29,9 +33,5 @@
2933
3034 /* flag for GFDT type */
3135 #define AGP_USER_CACHED_MEMORY_GFDT (1 << 3)
32
-
33
-#ifdef CONFIG_INTEL_IOMMU
34
-extern int intel_iommu_gfx_mapped;
35
-#endif
3636
3737 #endif