summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-08-14 16:02:37 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-14 16:02:37 -0700
commit22918f62c89a4314fb5d01c58f22fee5b9a15a27 (patch)
treebcdf8a6feaf0d97a2cc77ee8e2da481730196244
parent9ec36e0c8bd8a4bd7c40569412fc1a21219b5af9 (diff)
Fix pipe A force quirk
Last commit introduced a logic buglet, we went from (foo & BLAH) -> (!foo & BLAH) rather than !(foo & BLAH), so fix it up to make my laptop work again.
-rw-r--r--src/i830_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_display.c b/src/i830_display.c
index 622209b9..2f1e7abf 100644
--- a/src/i830_display.c
+++ b/src/i830_display.c
@@ -858,7 +858,7 @@ i830_crtc_dpms(xf86CrtcPtr crtc, int mode)
OUTREG(VGACNTRL, VGA_DISP_DISABLE);
/* May need to leave pipe A on */
- if ((pipe != 0) || (!pI830->quirk_flag & QUIRK_PIPEA_FORCE))
+ if ((pipe != 0) || !(pI830->quirk_flag & QUIRK_PIPEA_FORCE))
{
/* Disable display plane */
temp = INREG(dspcntr_reg);