diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-31 16:48:52 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-02-02 12:49:41 +1000 |
commit | f523f74eac1897b13c05c88ce6e5de0a7c34578b (patch) | |
tree | 54c2a3f66eae2c094fb2fe7ed37dbd04ac47f949 /drivers/gpu/drm/radeon/atombios_crtc.c | |
parent | 51d4bf840a27fe02c883ddc6d9708af056773769 (diff) | |
download | op-kernel-dev-f523f74eac1897b13c05c88ce6e5de0a7c34578b.zip op-kernel-dev-f523f74eac1897b13c05c88ce6e5de0a7c34578b.tar.gz |
drm/radeon/kms: add new pll algo for avivo asics
Based on the vbios code. This should hopefully
fix the pll problems on a number of avivo asics
once it's enabled.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/atombios_crtc.c')
-rw-r--r-- | drivers/gpu/drm/radeon/atombios_crtc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/atombios_crtc.c b/drivers/gpu/drm/radeon/atombios_crtc.c index 842954f..4374168 100644 --- a/drivers/gpu/drm/radeon/atombios_crtc.c +++ b/drivers/gpu/drm/radeon/atombios_crtc.c @@ -951,8 +951,8 @@ static void atombios_crtc_set_pll(struct drm_crtc *crtc, struct drm_display_mode /* adjust pixel clock as needed */ adjusted_clock = atombios_adjust_pll(crtc, mode, pll, ss_enabled, &ss); - radeon_compute_pll(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div, - &ref_div, &post_div); + radeon_compute_pll_legacy(pll, adjusted_clock, &pll_clock, &fb_div, &frac_fb_div, + &ref_div, &post_div); atombios_crtc_program_ss(crtc, ATOM_DISABLE, radeon_crtc->pll_id, &ss); |