]>
Commit | Line | Data |
---|---|---|
0ade6386 DV |
1 | /* Common header for intel-gtt.ko and i915.ko */ |
2 | ||
3 | #ifndef _DRM_INTEL_GTT_H | |
4 | #define _DRM_INTEL_GTT_H | |
0ade6386 DV |
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 | ||
19966754 DV |
15 | struct intel_gtt *intel_gtt_get(void); |
16 | ||
0ade6386 DV |
17 | #endif |
18 |