xf86-video-ati: Branch 'atombios-support'
Dave Airlie
airlied at kemper.freedesktop.org
Thu Nov 22 22:11:46 PST 2007
src/atombios_crtc.c | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 4e792db655dc92d2864db36b4d8f6714908de8e8
Author: Dave Airlie <airlied at redhat.com>
Date: Fri Nov 23 15:44:44 2007 +1000
r500: set default minimum pll freq
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c
index 732eab1..dbb8b69 100644
--- a/src/atombios_crtc.c
+++ b/src/atombios_crtc.c
@@ -151,6 +151,8 @@ atombios_set_crtc_timing(atomBiosHandlePtr atomBIOS, SET_CRTC_TIMING_PARAMETERS_
/*
* Calculate the PLL parameters for a given dotclock.
*/
+#define RADEON_PLL_DEFAULT_PLLOUT_MIN 64800 /* experimental. - taken from rhd divided by 10 */
+
static Bool
PLLCalculate(ScrnInfoPtr pScrn, CARD32 PixelClock,
CARD16 *RefDivider, CARD16 *FBDivider, CARD8 *PostDivider)
@@ -166,6 +168,8 @@ PLLCalculate(ScrnInfoPtr pScrn, CARD32 PixelClock,
Ratio = ((float) PixelClock) / ((float) pll->reference_freq * 10);
+ if (pll->min_pll_freq == 0)
+ pll->min_pll_freq = RADEON_PLL_DEFAULT_PLLOUT_MIN;
for (PostDiv = 2; PostDiv < POST_DIV_LIMIT; PostDiv++) {
CARD32 VCOOut = PixelClock * PostDiv;
More information about the xorg-commit
mailing list