Zhenyu Wang | f8f235e | 2010-08-27 11:08:57 +0800 | [diff] [blame] | 1 | /* |
2 | * Common Intel AGPGART and GTT definitions. | ||||
3 | */ | ||||
4 | #ifndef _INTEL_GTT_H | ||||
5 | #define _INTEL_GTT_H | ||||
6 | |||||
7 | #include <linux/agp_backend.h> | ||||
8 | |||||
9 | /* This is for Intel only GTT controls. | ||||
10 | * | ||||
11 | * Sandybridge: AGP_USER_CACHED_MEMORY default to LLC only | ||||
12 | */ | ||||
13 | |||||
14 | #define AGP_USER_CACHED_MEMORY_LLC_MLC (AGP_USER_TYPES + 2) | ||||
15 | #define AGP_USER_UNCACHED_MEMORY (AGP_USER_TYPES + 4) | ||||
16 | |||||
17 | /* flag for GFDT type */ | ||||
18 | #define AGP_USER_CACHED_MEMORY_GFDT (1 << 3) | ||||
19 | |||||
20 | #endif |