drm/radeon: lower the ref * post PLL maximum
authorChristian König <christian.koenig@amd.com>
Thu, 1 May 2014 17:00:41 +0000 (19:00 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 6 May 2014 10:18:44 +0000 (12:18 +0200)
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=75241

Signed-off-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/radeon/radeon_display.c

index 9ff0e2f1be6a5150b86f58278857c55c38d290e8..408b6ac53f0b808c525f86b99e90922716f5e6dc 100644 (file)
@@ -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);