diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-02-02 15:09:57 -0500 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2010-02-02 15:09:57 -0500 |
commit | 634da80056525a48ec17ffb81e2fb59b168bea9e (patch) | |
tree | b48ce95d75a9f929a04d65aa3ce415e0bdf9f2c4 | |
parent | a887818f491f6c7315c56c4e0d0b702c4c6aa4ac (diff) |
evergreen: fix units on frac_fb_div
-rw-r--r-- | src/atombios_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atombios_crtc.c b/src/atombios_crtc.c index 40442027..f52b4854 100644 --- a/src/atombios_crtc.c +++ b/src/atombios_crtc.c @@ -668,7 +668,7 @@ atombios_crtc_set_pll(xf86CrtcPtr crtc, DisplayModePtr mode) spc5_ptr->usPixelClock = cpu_to_le16(mode->Clock / 10); spc5_ptr->ucRefDiv = ref_div; spc5_ptr->usFbDiv = cpu_to_le16(fb_div); - spc5_ptr->ulFbDivDecFrac = cpu_to_le32(frac_fb_div); + spc5_ptr->ulFbDivDecFrac = cpu_to_le32(frac_fb_div * 100000); spc5_ptr->ucPostDiv = post_div; spc5_ptr->ucPpll = radeon_crtc->pll_id; spc5_ptr->ucMiscInfo = 0; //HDMI depth |