projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4955bb0
)
drm/radeon: fix typo in finding PLL params
author
Christian König
<
[email protected]
>
Tue, 13 May 2014 10:50:54 +0000
(12:50 +0200)
committer
Christian König
<
[email protected]
>
Tue, 20 May 2014 12:42:05 +0000
(14:42 +0200)
Otherwise the limit is raised to high.
Signed-off-by: Christian König <
[email protected]
>
Tested-by: Ken Moffat <
[email protected]
>
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 408b6ac53f0b808c525f86b99e90922716f5e6dc..f00dbbf4d806511a86b034a73c2d68adac971b99 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_display.c
+++ b/
drivers/gpu/drm/radeon/radeon_display.c
@@
-999,7
+999,7
@@
void radeon_compute_pll_avivo(struct radeon_pll *pll,
/* avoid high jitter with small fractional dividers */
if (pll->flags & RADEON_PLL_USE_FRAC_FB_DIV && (fb_div % 10)) {
- fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 +
6
0);
+ fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 +
5
0);
if (fb_div < fb_div_min) {
unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div);
fb_div *= tmp;