summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShuang He <shuang.he@intel.com>2009-04-07 12:31:07 -0700
committerCarl Worth <cworth@cworth.org>2009-04-07 12:32:59 -0700
commit0a0731c11d10392cdc55ecc04e4e3575c8b3fe57 (patch)
treedc033a6c0e438d4154d655db81833cf4a13b77c2
parent940c2aad4d174b6609bdc49f8c99a4bc37926516 (diff)
Fix value for MI_WAIT_FOR_PIPEA_SCAN_LINE_WINDOW
Since the change to scan-line based video sync, (rather than vblank- based), we've only been getting tear-free video on one of the two pipes. This fixes that bug by using the correct constant for waiting on PIPEA.
-rw-r--r--src/i810_reg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h
index 102097cd..59b60793 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -2443,7 +2443,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#define MI_WAIT_FOR_PIPEB_VBLANK (1<<7)
#define MI_WAIT_FOR_PIPEB_SCAN_LINE_WINDOW (1<<5)
#define MI_WAIT_FOR_PIPEA_VBLANK (1<<3)
-#define MI_WAIT_FOR_PIPEA_SCAN_LINE_WINDOW (1<<2)
+#define MI_WAIT_FOR_PIPEA_SCAN_LINE_WINDOW (1<<1)
/* Set the scan line for MI_WAIT_FOR_PIPE?_SCAN_LINE_WINDOW */
#define MI_LOAD_SCAN_LINES_INCL (0x12<<23)