Module: Mesa
Branch: 7.8
Commit: 689e4b554123bbf9af727b910dad9d1b32521f95
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=689e4b554123bbf9af727b910dad9d1b32521f95

Author: Ian Romanick <[email protected]>
Date:   Thu Mar 18 17:28:52 2010 -0700

intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.

---

 src/mesa/drivers/dri/intel/intel_reg.h |    4 +++-
 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 d19f1ba..36d8180 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)
 /** @} */
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to