]> Pileus Git - ~andy/linux/blobdiff - drivers/char/agp/agp.h
[AGPGART] fix detection of aperture size versus GTT size on G965
[~andy/linux] / drivers / char / agp / agp.h
index 8b3317fd46c9a8fdb9c6ce02f390639fbb61e315..1d59e2a5b9aabeb666704cfecb5eb8301d719051 100644 (file)
@@ -225,6 +225,10 @@ struct agp_bridge_data {
 #define I810_GMS_DISABLE       0x00000000
 #define I810_PGETBL_CTL                0x2020
 #define I810_PGETBL_ENABLED    0x00000001
+#define I965_PGETBL_SIZE_MASK  0x0000000e
+#define I965_PGETBL_SIZE_512KB (0 << 1)
+#define I965_PGETBL_SIZE_256KB (1 << 1)
+#define I965_PGETBL_SIZE_128KB (2 << 1)
 #define I810_DRAM_CTL          0x3000
 #define I810_DRAM_ROW_0                0x00000001
 #define I810_DRAM_ROW_0_SDRAM  0x00000001