Searched refs:fb_div_min (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pll.c | 134 unsigned fb_div_min, fb_div_max, fb_div; in amdgpu_pll_compute() local 141 fb_div_min = pll->min_feedback_div; in amdgpu_pll_compute() 145 fb_div_min *= 10; in amdgpu_pll_compute() 199 amdgpu_pll_reduce_ratio(&nom, &den, fb_div_min, post_div_min); in amdgpu_pll_compute() 230 amdgpu_pll_reduce_ratio(&fb_div, &ref_div, fb_div_min, ref_div_min); in amdgpu_pll_compute() 234 fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 + 60); in amdgpu_pll_compute() 235 if (fb_div < fb_div_min) { in amdgpu_pll_compute() 236 unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div); in amdgpu_pll_compute()
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 967 unsigned fb_div_min, fb_div_max, fb_div; in radeon_compute_pll_avivo() local 974 fb_div_min = pll->min_feedback_div; in radeon_compute_pll_avivo() 978 fb_div_min *= 10; in radeon_compute_pll_avivo() 1035 avivo_reduce_ratio(&nom, &den, fb_div_min, post_div_min); in radeon_compute_pll_avivo() 1066 avivo_reduce_ratio(&fb_div, &ref_div, fb_div_min, ref_div_min); in radeon_compute_pll_avivo() 1070 fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 + 50); in radeon_compute_pll_avivo() 1071 if (fb_div < fb_div_min) { in radeon_compute_pll_avivo() 1072 unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div); in radeon_compute_pll_avivo()
|