/* Common header for intel-gtt.ko and i915.ko */#ifndef _DRM_INTEL_GTT_H#define _DRM_INTEL_GTT_Hvoidintel_gtt_get(size_t*gtt_total,size_t*stolen_size,phys_addr_t*mappable_base,unsignedlong*mappable_end);intintel_gmch_probe(structpci_dev*bridge_pdev,structpci_dev*gpu_pdev,structagp_bridge_data*bridge);voidintel_gmch_remove(void);boolintel_enable_gtt(void);voidintel_gtt_chipset_flush(void);voidintel_gtt_insert_sg_entries(structsg_table*st,unsignedintpg_start,unsignedintflags);voidintel_gtt_clear_range(unsignedintfirst_entry,unsignedintnum_entries);/* Special gtt memory types */#define AGP_DCACHE_MEMORY 1#define AGP_PHYS_MEMORY 2/* flag for GFDT type */#define AGP_USER_CACHED_MEMORY_GFDT (1 << 3)#ifdef CONFIG_INTEL_IOMMUexternintintel_iommu_gfx_mapped;#endif#endif