From 24e4b73b4fbbb2c790e6120ede3caaa4e7e58359 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 22 Apr 2009 11:42:18 -0400 Subject: radeon pll: add support for fractional feedback divs Allows us to hit dot clocks much closer, especially on chips with non-27 Mhz reference clocks like most IGP chips. This should fix most flickering and blanking problems with non-exact dot clocks. --- src/radeon.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/radeon.h') diff --git a/src/radeon.h b/src/radeon.h index 174352d3..eaaff250 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -277,6 +277,8 @@ typedef struct { uint32_t max_post_div; uint32_t min_feedback_div; uint32_t max_feedback_div; + uint32_t min_frac_feedback_div; + uint32_t max_frac_feedback_div; uint32_t best_vco; } RADEONPLLRec, *RADEONPLLPtr; @@ -1049,6 +1051,7 @@ extern void RADEONBlank(ScrnInfoPtr pScrn); extern void RADEONComputePLL(RADEONPLLPtr pll, unsigned long freq, uint32_t *chosen_dot_clock_freq, uint32_t *chosen_feedback_div, + uint32_t *chosen_frac_feedback_div, uint32_t *chosen_reference_div, uint32_t *chosen_post_div, int flags); extern DisplayModePtr RADEONCrtcFindClosestMode(xf86CrtcPtr crtc, -- cgit v1.2.3