summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-22 15:08:57 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2008-07-22 15:40:20 +0800
commite7533a253178a867a9ad37f5fd3789b21ff38162 (patch)
tree0604dcab8c1a70bef4fcfdd36a56e3493b33b354
parent7f040c63bbfef0b577eeac2052c1951bdbfa3386 (diff)
SSC is LVDS only
Fix regression on my 855GM for VGA output. (cherry picked from commit 04bbed2248e3e8f86efd64225abf2db8eb552653)
-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 69bf7f77..61764475 100644
--- a/src/i830_display.c
+++ b/src/i830_display.c
@@ -1249,7 +1249,7 @@ i830_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
xf86DrvMsg(pScrn->scrnIndex, X_INFO, "clone detected, disabling SSC\n");
/* Don't use SSC when cloned */
- if (pI830->lvds_use_ssc && num_outputs < 2) {
+ if (is_lvds && pI830->lvds_use_ssc && num_outputs < 2) {
refclk = pI830->lvds_ssc_freq * 1000;
xf86DrvMsg(pScrn->scrnIndex, X_INFO,
"using SSC reference clock of %d MHz\n", refclk / 1000);