kernel/include/drm/intel-gtt.h
.. .. @@ -4,6 +4,10 @@ 4 4 #ifndef _DRM_INTEL_GTT_H 5 5 #define _DRM_INTEL_GTT_H 6 6 7 +#include <linux/agp_backend.h>8 +#include <linux/intel-iommu.h>9 +#include <linux/kernel.h>10 +7 11 void intel_gtt_get(u64 *gtt_total, 8 12 phys_addr_t *mappable_base, 9 13 resource_size_t *mappable_end); .. .. @@ -29,9 +33,5 @@ 29 33 30 34 /* flag for GFDT type */ 31 35 #define AGP_USER_CACHED_MEMORY_GFDT (1 << 3) 32 -33 -#ifdef CONFIG_INTEL_IOMMU34 -extern int intel_iommu_gfx_mapped;35 -#endif36 36 37 37 #endif