From 532e47a4a169e829ad34fdc8bb85e4eb81721af3 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Thu, 14 Aug 2008 16:02:37 -0700 Subject: 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) --- src/i830_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3