Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24315814 authored by Christian König's avatar Christian König
Browse files

drm/radeon: use fixed PPL ref divider if needed

parent 76e6dcec
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -880,6 +880,11 @@ void radeon_compute_pll_avivo(struct radeon_pll *pll,
		ref_div_min = pll->reference_div;
	else
		ref_div_min = pll->min_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 */