intel-gtt.h 468 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. struct intel_gtt {
  5. /* Number of stolen gtt entries at the beginning. */
  6. unsigned int gtt_stolen_entries;
  7. /* Total number of gtt entries. */
  8. unsigned int gtt_total_entries;
  9. /* Part of the gtt that is mappable by the cpu, for those chips where
  10. * this is not the full gtt. */
  11. unsigned int gtt_mappable_entries;
  12. };
  13. struct intel_gtt *intel_gtt_get(void);
  14. #endif