diff options
author | Hong Liu <hong.liu@intel.com> | 2008-04-11 09:54:34 +0800 |
---|---|---|
committer | root <root@debian-t61.sh.intel.com> | 2008-04-12 06:15:28 +0800 |
commit | e17168f29953ac276d5ecc2d8f459f2e513c8d1b (patch) | |
tree | 2361b3533d313539e9a5014b0ec8566316c9b35a | |
parent | 8c23ab274a502bb1a1face5b17776e577a8f35ef (diff) |
Bug #14935: Fix i9xx reference clock for spread spectrum.
(cherry picked from commit 5c9cde37e769287fb7bf4e08c3600a33c2e92dce)
-rw-r--r-- | src/i830_display.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/i830_display.c b/src/i830_display.c index 0588947d..4910d967 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -1713,8 +1713,10 @@ i830_crtc_clock_get(ScrnInfoPtr pScrn, xf86CrtcPtr crtc) return 0; } - /* XXX: Handle the 100Mhz refclk */ - i9xx_clock(96000, &clock); + if ((dpll & PLL_REF_INPUT_MASK) == PLLB_REF_INPUT_SPREADSPECTRUMIN) + i9xx_clock(100000, &clock); + else + i9xx_clock(96000, &clock); } else { Bool is_lvds = (pipe == 1) && (INREG(LVDS) & LVDS_PORT_EN); |