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

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c124 unsigned fb_div_min, fb_div_max, fb_div; amdgpu_pll_compute() local
131 fb_div_min = pll->min_feedback_div; amdgpu_pll_compute()
135 fb_div_min *= 10; amdgpu_pll_compute()
189 amdgpu_pll_reduce_ratio(&nom, &den, fb_div_min, post_div_min); amdgpu_pll_compute()
220 amdgpu_pll_reduce_ratio(&fb_div, &ref_div, fb_div_min, ref_div_min); amdgpu_pll_compute()
224 fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 + 60); amdgpu_pll_compute()
225 if (fb_div < fb_div_min) { amdgpu_pll_compute()
226 unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div); amdgpu_pll_compute()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_display.c992 unsigned fb_div_min, fb_div_max, fb_div; radeon_compute_pll_avivo() local
999 fb_div_min = pll->min_feedback_div; radeon_compute_pll_avivo()
1003 fb_div_min *= 10; radeon_compute_pll_avivo()
1060 avivo_reduce_ratio(&nom, &den, fb_div_min, post_div_min); radeon_compute_pll_avivo()
1091 avivo_reduce_ratio(&fb_div, &ref_div, fb_div_min, ref_div_min); radeon_compute_pll_avivo()
1095 fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 + 50); radeon_compute_pll_avivo()
1096 if (fb_div < fb_div_min) { radeon_compute_pll_avivo()
1097 unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div); radeon_compute_pll_avivo()

Completed in 123 milliseconds