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:
76e6dce
)
drm/radeon: use fixed PPL ref divider if needed
author
Christian König
<
[email protected]
>
Sat, 19 Apr 2014 16:57:14 +0000
(18:57 +0200)
committer
Christian König
<
[email protected]
>
Sat, 19 Apr 2014 16:57:14 +0000
(18:57 +0200)
Signed-off-by: Christian König <
[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 2f7cbb901fb18c04c30c48e7357c23d01edc2529..e6c3c548825910e5912cb3af02a3a4805abfa103 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_display.c
+++ b/
drivers/gpu/drm/radeon/radeon_display.c
@@
-880,7
+880,12
@@
void radeon_compute_pll_avivo(struct radeon_pll *pll,
ref_div_min = pll->reference_div;
else
ref_div_min = pll->min_ref_div;
- ref_div_max = pll->max_ref_div;
+
+ if (pll->flags & RADEON_PLL_USE_FRAC_FB_DIV &&
+ pll->flags & RADEON_PLL_USE_REF_DIV)
+ ref_div_max = pll->reference_div;
+ else
+ ref_div_max = pll->max_ref_div;
/* determine allowed post divider range */
if (pll->flags & RADEON_PLL_USE_POST_DIV) {