From 814c6c48aebba2e45ce257289b922cd7e92caf2a Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Thu, 13 Dec 2007 18:45:09 -0500 Subject: RADEON: rework PLL calculation - Take into account the limits from the bios tables - Unify the PLL calculation between legacy and avivo chips --- src/radeon.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/radeon.h') diff --git a/src/radeon.h b/src/radeon.h index 038fcc7..6c38826 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -203,16 +203,18 @@ typedef struct { typedef struct { CARD16 reference_freq; CARD16 reference_div; - CARD32 min_pll_freq; - CARD32 max_pll_freq; + CARD32 pll_in_min; + CARD32 pll_in_max; + CARD32 pll_out_min; + CARD32 pll_out_max; CARD16 xclk; CARD32 min_ref_div; CARD32 max_ref_div; + CARD32 min_post_div; + CARD32 max_post_div; CARD32 min_feedback_div; CARD32 max_feedback_div; - CARD32 pll_in_min; - CARD32 pll_in_max; CARD32 best_vco; } RADEONPLLRec, *RADEONPLLPtr; -- cgit v1.2.3