commit | 619efb105924d8cafa0c1dd9389e9ab506f5425d | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexdeucher@gmail.com> | Mon Jan 31 16:48:53 2011 -0500 |
committer | Dave Airlie <airlied@redhat.com> | Wed Feb 02 12:49:43 2011 +1000 |
tree | d610de4c3488bbd539b7e449745c646299b48b19 | |
parent | f523f74eac1897b13c05c88ce6e5de0a7c34578b [diff] [blame] |
drm/radeon/kms: Enable new pll calculation for avivo+ asics New algo is used for r5xx+ and legacy is used for r1xx-r4xx, rv515. I've tested on all relevant GPUs and monitors that I have access to and have found no problems. Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=26562 https://bugzilla.kernel.org/show_bug.cgi?id=26552 May fix: https://bugs.freedesktop.org/show_bug.cgi?id=32556 Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Cc: stable@kernel.org Signed-off-by: Dave Airlie <airlied@redhat.com>
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c index 5fda820..2eff98c 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -935,6 +935,9 @@ pll_out_max = pll->pll_out_max; } + if (pll_out_min > 64800) + pll_out_min = 64800; + if (pll->flags & RADEON_PLL_USE_REF_DIV) min_ref_div = max_ref_div = pll->reference_div; else {