diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-02-22 17:27:24 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-02-22 17:27:24 -0500 |
commit | 212e152536c4325e6799018891d9aee132681f48 (patch) | |
tree | a53dc9542eaef9a9ab659fd64ebfaf92b3f4e318 /src/radeon.h | |
parent | e68d3a3890fc81c51f2006b5548da1e8756ad2fd (diff) |
radeon: update new pll algo
- add support for pre-avivo chips
- add support for fixed post/ref dividers
- add support for non-fractional fb dividers
By default avivo chips use the new algo and
pre-avivo chips use the old algo. Use the
"NewPLL" option to toggle between them (set to
TRUE for the new algo, FALSE for the old).
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/radeon.h b/src/radeon.h index 36b2d8be..c0b5d7aa 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -1173,20 +1173,13 @@ extern void radeon_crtc_load_lut(xf86CrtcPtr crtc); extern void radeon_crtc_modeset_ioctl(xf86CrtcPtr crtc, Bool post); extern Bool RADEONAllocateControllers(ScrnInfoPtr pScrn, int mask); extern void RADEONBlank(ScrnInfoPtr pScrn); -extern void RADEONComputePLL(RADEONPLLPtr pll, unsigned long freq, +extern void RADEONComputePLL(ScrnInfoPtr pScrn, + 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 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); |