Searched refs:post_div_min (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c125 unsigned post_div_min, post_div_max, post_div; amdgpu_pll_compute() local
153 post_div_min = pll->post_div; amdgpu_pll_compute()
171 post_div_min = vco_min / target_clock; amdgpu_pll_compute()
172 if ((target_clock * post_div_min) < vco_min) amdgpu_pll_compute()
173 ++post_div_min; amdgpu_pll_compute()
174 if (post_div_min < pll->min_post_div) amdgpu_pll_compute()
175 post_div_min = pll->min_post_div; amdgpu_pll_compute()
189 amdgpu_pll_reduce_ratio(&nom, &den, fb_div_min, post_div_min); amdgpu_pll_compute()
193 post_div_best = post_div_min; amdgpu_pll_compute()
198 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { amdgpu_pll_compute()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_display.c993 unsigned post_div_min, post_div_max, post_div; radeon_compute_pll_avivo() local
1024 post_div_min = pll->post_div; radeon_compute_pll_avivo()
1042 post_div_min = vco_min / target_clock; radeon_compute_pll_avivo()
1043 if ((target_clock * post_div_min) < vco_min) radeon_compute_pll_avivo()
1044 ++post_div_min; radeon_compute_pll_avivo()
1045 if (post_div_min < pll->min_post_div) radeon_compute_pll_avivo()
1046 post_div_min = pll->min_post_div; radeon_compute_pll_avivo()
1060 avivo_reduce_ratio(&nom, &den, fb_div_min, post_div_min); radeon_compute_pll_avivo()
1064 post_div_best = post_div_min; radeon_compute_pll_avivo()
1069 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { radeon_compute_pll_avivo()

Completed in 92 milliseconds