summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2014-05-01 19:00:41 +0200
committerChristian König <christian.koenig@amd.com>2014-05-06 12:18:44 +0200
commitcbe655137aa8f644f4985021a1e1e65df1d28fa8 (patch)
tree75b9d2d678522337e0afef7314098593c1ed3d17
parentcde10122dc126a223e783f0b40bdb08cc332ab17 (diff)
downloadop-kernel-dev-cbe655137aa8f644f4985021a1e1e65df1d28fa8.zip
op-kernel-dev-cbe655137aa8f644f4985021a1e1e65df1d28fa8.tar.gz
drm/radeon: lower the ref * post PLL maximum
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=75241 Signed-off-by: Christian König <christian.koenig@amd.com>
-rw-r--r--drivers/gpu/drm/radeon/radeon_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_display.c b/drivers/gpu/drm/radeon/radeon_display.c
index 9ff0e2f..408b6ac 100644
--- a/drivers/gpu/drm/radeon/radeon_display.c
+++ b/drivers/gpu/drm/radeon/radeon_display.c
@@ -862,7 +862,7 @@ static void avivo_get_fb_ref_div(unsigned nom, unsigned den, unsigned post_div,
unsigned *fb_div, unsigned *ref_div)
{
/* limit reference * post divider to a maximum */
- ref_div_max = min(210 / post_div, ref_div_max);
+ ref_div_max = min(128 / post_div, ref_div_max);
/* get matching reference and feedback divider */
*ref_div = min(max(DIV_ROUND_CLOSEST(den, post_div), 1u), ref_div_max);
OpenPOWER on IntegriCloud