From 0a0731c11d10392cdc55ecc04e4e3575c8b3fe57 Mon Sep 17 00:00:00 2001 From: Shuang He Date: Tue, 7 Apr 2009 12:31:07 -0700 Subject: 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. --- src/i810_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/i810_reg.h') 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) -- cgit v1.2.3