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:33:47 -0700
commit404fdcc5bc9dd32d39112d8a49a5617dbb886a40 (patch)
tree4550ac9088f3227c98572e633e9f89aab3508aa2
parent7b74b77557aa4100017ef3f9d344fb4071ae8470 (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. (cherry picked from commit 0a0731c11d10392cdc55ecc04e4e3575c8b3fe57)
-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 c9645691..52114000 100644
--- a/src/i810_reg.h
+++ b/src/i810_reg.h
@@ -2442,7 +2442,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)