projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f981d46
)
drm/radeon/kms: prefer high post dividers in legacy pll algo
author
Alex Deucher
<alexdeucher@gmail.com>
Wed, 29 Sep 2010 15:37:39 +0000
(11:37 -0400)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 6 Oct 2010 01:46:22 +0000
(11:46 +1000)
the hw prefers higher post dividers
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_display.c
b/drivers/gpu/drm/radeon/radeon_display.c
index
902f7ce
..
d276d6d
100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_display.c
+++ b/
drivers/gpu/drm/radeon/radeon_display.c
@@
-513,7
+513,7
@@
static void radeon_compute_pll_legacy(struct radeon_pll *pll,
max_fractional_feed_div = pll->max_frac_feedback_div;
}
- for (post_div = m
in_post_div; post_div <= max_post_div; ++
post_div) {
+ for (post_div = m
ax_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))