Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pll.c134 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()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_display.c968 unsigned fb_div_min, fb_div_max, fb_div; in radeon_compute_pll_avivo() local
975 fb_div_min = pll->min_feedback_div; in radeon_compute_pll_avivo()
979 fb_div_min *= 10; in radeon_compute_pll_avivo()
1036 avivo_reduce_ratio(&nom, &den, fb_div_min, post_div_min); in radeon_compute_pll_avivo()
1067 avivo_reduce_ratio(&fb_div, &ref_div, fb_div_min, ref_div_min); in radeon_compute_pll_avivo()
1071 fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 + 50); in radeon_compute_pll_avivo()
1072 if (fb_div < fb_div_min) { in radeon_compute_pll_avivo()
1073 unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div); in radeon_compute_pll_avivo()