mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
drm/radeon: fix typo in finding PLL params
Otherwise the limit is raised to high. Signed-off-by: Christian König <[email protected]> Tested-by: Ken Moffat <[email protected]>
This commit is contained in:
parent
4955bb073f
commit
74ad54f249
1 changed files with 1 additions and 1 deletions
|
|
@ -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 + 60);
|
||||
fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 + 50);
|
||||
if (fb_div < fb_div_min) {
|
||||
unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div);
|
||||
fb_div *= tmp;
|
||||
|
|
|
|||
Loading…
Reference in a new issue