diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-01-31 16:48:50 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-02-02 12:49:38 +1000 |
commit | a6f9761743bf35b052180f4a8bdae4d2cc0465f6 (patch) | |
tree | bd84424d9788eea2f8ae3ffbbb17bda58e71fac9 /drivers/gpu | |
parent | 20d391d72519527d2266a0166490118b40ff998d (diff) |
drm/radeon/kms: switch back to min->max pll post divider iteration
Seems more reliable. Fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=26552
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')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_display.c | 2 |
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 d26dabf878d..71788e942cb 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -849,7 +849,7 @@ void radeon_compute_pll(struct radeon_pll *pll, max_fractional_feed_div = pll->max_frac_feedback_div; } - for (post_div = max_post_div; post_div >= min_post_div; --post_div) { + for (post_div = min_post_div; post_div <= max_post_div; ++post_div) { uint32_t ref_div; if ((pll->flags & RADEON_PLL_NO_ODD_POST_DIV) && (post_div & 1)) |