diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-04-22 11:42:18 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-04-22 11:42:18 -0400 |
commit | 24e4b73b4fbbb2c790e6120ede3caaa4e7e58359 (patch) | |
tree | 65d7192bce5b1a3f19464a693db48f2d11e58ba0 /src/radeon.h | |
parent | efa0825a86a8dc0f03ebb42c576ed26189e9d4bb (diff) |
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.
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 3 |
1 files changed, 3 insertions, 0 deletions
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, |