summaryrefslogtreecommitdiffstats
path: root/drivers/char/agp/intel-agp.h
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-07-09 19:45:17 +0200
committerEric Anholt <eric@anholt.net>2010-08-02 04:03:48 +0200
commita2757b6fab6dee3dbf43bdb7d7226d03747fbdb1 (patch)
treef3f30e2921f93fc6bfbcf0a8a13fba872b40de3e /drivers/char/agp/intel-agp.h
parentagp/intel: Support the extended physical addressing bits on Sandybridge. (diff)
downloadlinux-a2757b6fab6dee3dbf43bdb7d7226d03747fbdb1.tar.xz
linux-a2757b6fab6dee3dbf43bdb7d7226d03747fbdb1.zip
agp/intel: Add actual definitions of the Sandybridge PTE caching bits.
Diffstat (limited to 'drivers/char/agp/intel-agp.h')
-rw-r--r--drivers/char/agp/intel-agp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/char/agp/intel-agp.h b/drivers/char/agp/intel-agp.h
index 2547465d4658..c05e3e518268 100644
--- a/drivers/char/agp/intel-agp.h
+++ b/drivers/char/agp/intel-agp.h
@@ -60,6 +60,12 @@
#define I810_PTE_LOCAL 0x00000002
#define I810_PTE_VALID 0x00000001
#define I830_PTE_SYSTEM_CACHED 0x00000006
+/* GT PTE cache control fields */
+#define GEN6_PTE_UNCACHED 0x00000002
+#define GEN6_PTE_LLC 0x00000004
+#define GEN6_PTE_LLC_MLC 0x00000006
+#define GEN6_PTE_GFDT 0x00000008
+
#define I810_SMRAM_MISCC 0x70
#define I810_GFX_MEM_WIN_SIZE 0x00010000
#define I810_GFX_MEM_WIN_32M 0x00010000