diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-12-09 12:55:25 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-12-09 12:55:25 -0500 |
commit | 46630da5fd6f45bb8ea150b870162997480d69c7 (patch) | |
tree | 80082feaa802872b4fe343f00cbe61787170e81f /src/radeon.h | |
parent | f082b1693d6f7f763ccf5a8436a89890ca2c6129 (diff) |
AVIVO: add new PLL code
This should hopefully help the problems with flickering
and blinking monitors reported on some systems. If there
are problems, the old PLL algorithm can be selected with:
Option "NewPLL" "FALSE"
in the device section of your X config.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h index 182e946e..10710a83 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -222,7 +222,8 @@ typedef enum { OPTION_ATOM_TVOUT, OPTION_R4XX_ATOM, OPTION_FORCE_LOW_POWER, - OPTION_DYNAMIC_PM + OPTION_DYNAMIC_PM, + OPTION_NEW_PLL } RADEONOpts; @@ -1164,6 +1165,14 @@ extern void RADEONComputePLL(RADEONPLLPtr pll, unsigned long freq, uint32_t *chosen_frac_feedback_div, uint32_t *chosen_reference_div, uint32_t *chosen_post_div, int flags); +extern void RADEONComputePLL_AVIVO(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, DisplayModePtr pMode); extern void RADEONUnblank(ScrnInfoPtr pScrn); |