diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2010-11-05 13:04:52 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-11-23 15:14:43 -0500 |
commit | 23ed992a5ebe6964ebe312b54142fbc5e8185cdc (patch) | |
tree | c8ee2fa6f6a51fb1d0b43f19ec15dcc482b914ef /include/drm/intel-gtt.h | |
parent | ff26860fb53f2dcfaaaf1bf017b09dbdfddff5ee (diff) |
drm/i915|intel-gtt: consolidate intel-gtt.h headers
... and a few other defines.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'include/drm/intel-gtt.h')
-rw-r--r-- | include/drm/intel-gtt.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/drm/intel-gtt.h b/include/drm/intel-gtt.h index 020f8aab7e5b..9f91cbe35157 100644 --- a/include/drm/intel-gtt.h +++ b/include/drm/intel-gtt.h | |||
@@ -13,5 +13,17 @@ const struct intel_gtt { | |||
13 | unsigned int gtt_mappable_entries; | 13 | unsigned int gtt_mappable_entries; |
14 | } *intel_gtt_get(void); | 14 | } *intel_gtt_get(void); |
15 | 15 | ||
16 | |||
17 | /* Special gtt memory types */ | ||
18 | #define AGP_DCACHE_MEMORY 1 | ||
19 | #define AGP_PHYS_MEMORY 2 | ||
20 | |||
21 | /* New caching attributes for gen6/sandybridge */ | ||
22 | #define AGP_USER_CACHED_MEMORY_LLC_MLC (AGP_USER_TYPES + 2) | ||
23 | #define AGP_USER_UNCACHED_MEMORY (AGP_USER_TYPES + 4) | ||
24 | |||
25 | /* flag for GFDT type */ | ||
26 | #define AGP_USER_CACHED_MEMORY_GFDT (1 << 3) | ||
27 | |||
16 | #endif | 28 | #endif |
17 | 29 | ||