summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alex@samba.(none)>2007-12-13 18:45:09 -0500
committerAlex Deucher <alex@samba.(none)>2007-12-13 18:45:09 -0500
commit814c6c48aebba2e45ce257289b922cd7e92caf2a (patch)
treeb6421082b5c6fe80591ce208f9c8feaf4313616e /src/radeon.h
parentf5ac34983411e4c4f41ab1817dce582830f398fd (diff)
RADEON: rework PLL calculation
- Take into account the limits from the bios tables - Unify the PLL calculation between legacy and avivo chips
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h10
1 files changed, 6 insertions, 4 deletions
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;