summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-07-02 15:16:33 -0700
committerEric Anholt <eric@anholt.net>2007-07-02 15:16:33 -0700
commit2b9961eb9ce8734565ecdb01cb11610714d7f610 (patch)
tree5f52984c6f3cee8a8bf35c57ef040ef3ed9c3eb4
parent3d9ee8b2991ec0da8cc21b8455ff7f00fd0335b5 (diff)
Fix reversed LVDS dither enabling logic on GM965.
-rw-r--r--src/i830_display.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_display.c b/src/i830_display.c
index aba86ae7..ebde5256 100644
--- a/src/i830_display.c
+++ b/src/i830_display.c
@@ -1019,9 +1019,9 @@ i830_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
if (IS_I965G(pI830))
{
if ((lvds & LVDS_A3_POWER_MASK) == LVDS_A3_POWER_UP)
- lvds |= LVDS_DITHER_ENABLE;
- else
lvds &= ~LVDS_DITHER_ENABLE;
+ else
+ lvds |= LVDS_DITHER_ENABLE;
}
OUTREG(LVDS, lvds);