summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2010-03-18 17:28:52 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-03-18 17:31:22 -0700
commit98aed6dc697d009bb08bd63b41bd3a6b66fb7333 (patch)
treed1226fdcf92464e9ce2bde26804fec1d8275e5b2
parentd3a607f8893bfb0d31fe679c530db9743f14d15f (diff)
intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.
(cherry picked from commit 689e4b554123bbf9af727b910dad9d1b32521f95)
-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 d19f1bae34..36d8180598 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)
/** @} */