diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-31 21:48:52 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-02-02 02:49:41 (GMT) |
commit | f523f74eac1897b13c05c88ce6e5de0a7c34578b (patch) | |
tree | 54c2a3f66eae2c094fb2fe7ed37dbd04ac47f949 /drivers/gpu/drm/radeon/radeon_legacy_crtc.c | |
parent | 51d4bf840a27fe02c883ddc6d9708af056773769 (diff) | |
download | linux-fsl-qoriq-f523f74eac1897b13c05c88ce6e5de0a7c34578b.tar.xz |
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/radeon_legacy_crtc.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_legacy_crtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_legacy_crtc.c b/drivers/gpu/drm/radeon/radeon_legacy_crtc.c index ace2e63..cf0638c 100644 --- a/drivers/gpu/drm/radeon/radeon_legacy_crtc.c +++ b/drivers/gpu/drm/radeon/radeon_legacy_crtc.c @@ -778,9 +778,9 @@ static void radeon_set_pll(struct drm_crtc *crtc, struct drm_display_mode *mode) DRM_DEBUG_KMS("\n"); if (!use_bios_divs) { - radeon_compute_pll(pll, mode->clock, - &freq, &feedback_div, &frac_fb_div, - &reference_div, &post_divider); + radeon_compute_pll_legacy(pll, mode->clock, + &freq, &feedback_div, &frac_fb_div, + &reference_div, &post_divider); for (post_div = &post_divs[0]; post_div->divider; ++post_div) { if (post_div->divider == post_divider) |