summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-08-14 16:02:37 -0700
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-08-15 10:35:24 +0800
commit532e47a4a169e829ad34fdc8bb85e4eb81721af3 (patch)
treec304364768eae58b04c5b2cb3509e1dca698886e /src
parentac740398569dfa02d3d26a2abeb5c848717e6c03 (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. (cherry picked from commit 22918f62c89a4314fb5d01c58f22fee5b9a15a27)
Diffstat (limited to 'src')
-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);