aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-03-18 17:28:52 -0700
committerIan Romanick <[email protected]>2010-03-18 17:28:52 -0700
commit689e4b554123bbf9af727b910dad9d1b32521f95 (patch)
tree84d08972a1942b90a7582b3196cb2a52a6bb1117 /src
parentfda5078324e0a940a2ddfdd1c63ffceb47c5a717 (diff)
intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_reg.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_reg.h b/src/mesa/drivers/dri/intel/intel_reg.h
index d19f1bae34c..36d8180598e 100644
--- a/src/mesa/drivers/dri/intel/intel_reg.h
+++ b/src/mesa/drivers/dri/intel/intel_reg.h
@@ -70,8 +70,10 @@
/** @{
* 915 definitions
+ *
+ * 915 documents say that bits 31:28 and 1 are "undefined, must be zero."
*/
-#define S0_VB_OFFSET_MASK 0xffffffc0
+#define S0_VB_OFFSET_MASK 0x0ffffffc
#define S0_AUTO_CACHE_INV_DISABLE (1<<0)
/** @} */