diff --git a/src/i830_display.c b/src/i830_display.c index 5e52aac..a4a1827 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -1695,8 +1695,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);