intel-gtt.h 480 B

123456789101112131415161718
  1. /* Common header for intel-gtt.ko and i915.ko */
  2. #ifndef _DRM_INTEL_GTT_H
  3. #define _DRM_INTEL_GTT_H
  4. extern int intel_max_stolen; /* from AGP driver */
  5. struct intel_gtt {
  6. /* Number of stolen gtt entries at the beginning. */
  7. unsigned int gtt_stolen_entries;
  8. /* Total number of gtt entries. */
  9. unsigned int gtt_total_entries;
  10. /* Part of the gtt that is mappable by the cpu, for those chips where
  11. * this is not the full gtt. */
  12. unsigned int gtt_mappable_entries;
  13. };
  14. #endif