Searched refs:fb_div_min (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
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()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_display.c | 973 unsigned fb_div_min, fb_div_max, fb_div; in radeon_compute_pll_avivo() local 980 fb_div_min = pll->min_feedback_div; in radeon_compute_pll_avivo() 984 fb_div_min *= 10; in radeon_compute_pll_avivo() 1041 avivo_reduce_ratio(&nom, &den, fb_div_min, post_div_min); in radeon_compute_pll_avivo() 1072 avivo_reduce_ratio(&fb_div, &ref_div, fb_div_min, ref_div_min); in radeon_compute_pll_avivo() 1076 fb_div_min = max(fb_div_min, (9 - (fb_div % 10)) * 20 + 50); in radeon_compute_pll_avivo() 1077 if (fb_div < fb_div_min) { in radeon_compute_pll_avivo() 1078 unsigned tmp = DIV_ROUND_UP(fb_div_min, fb_div); in radeon_compute_pll_avivo()
|