diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2011-02-21 01:11:59 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-03-07 15:05:08 -0800 |
commit | 05d13b4e89caaca96f73c5f46d7b3dc9bcc7b0d8 (patch) | |
tree | ba40e41dfd7fedbec7a87dc4be5b54ec3d86a443 /drivers | |
parent | 0b2421a21fecb20e00ce36acaf2637c708294648 (diff) | |
download | lwn-05d13b4e89caaca96f73c5f46d7b3dc9bcc7b0d8.tar.gz lwn-05d13b4e89caaca96f73c5f46d7b3dc9bcc7b0d8.zip |
Revert "drm/radeon/kms: switch back to min->max pll post divider iteration"
commit bd6a60afeb4c9ada3ff27f1d13db1a2b5c11d8c0 upstream.
This reverts commit a6f9761743bf35b052180f4a8bdae4d2cc0465f6.
Remove this commit as it is no longer necessary. The relevant bugs
were fixed properly in:
drm/radeon/kms: hopefully fix pll issues for real (v3)
5b40ddf888398ce4cccbf3b9d0a18d90149ed7ff
drm/radeon/kms: add missing frac fb div flag for dce4+
9f4283f49f0a96a64c5a45fe56f0f8c942885eef
This commit also broke certain ~5 Mhz modes on old arcade monitors,
so reverting this commit fixes:
https://bugzilla.kernel.org/show_bug.cgi?id=29502
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-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 c7d1fcaadb22..7e1b648a09b6 100644 --- a/drivers/gpu/drm/radeon/radeon_display.c +++ b/drivers/gpu/drm/radeon/radeon_display.c @@ -639,7 +639,7 @@ void radeon_compute_pll_legacy(struct radeon_pll *pll, max_fractional_feed_div = pll->max_frac_feedback_div; } - for (post_div = min_post_div; post_div <= max_post_div; ++post_div) { + for (post_div = max_post_div; post_div >= min_post_div; --post_div) { uint32_t ref_div; if ((pll->flags & RADEON_PLL_NO_ODD_POST_DIV) && (post_div & 1)) |