Searched refs:post_div_min (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pll.c | 135 unsigned post_div_min, post_div_max, post_div; in amdgpu_pll_compute() local 163 post_div_min = pll->post_div; in amdgpu_pll_compute() 181 post_div_min = vco_min / target_clock; in amdgpu_pll_compute() 182 if ((target_clock * post_div_min) < vco_min) in amdgpu_pll_compute() 183 ++post_div_min; in amdgpu_pll_compute() 184 if (post_div_min < pll->min_post_div) in amdgpu_pll_compute() 185 post_div_min = pll->min_post_div; in amdgpu_pll_compute() 199 amdgpu_pll_reduce_ratio(&nom, &den, fb_div_min, post_div_min); in amdgpu_pll_compute() 203 post_div_best = post_div_min; in amdgpu_pll_compute() 208 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { in amdgpu_pll_compute()
|
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_display.c | 968 unsigned post_div_min, post_div_max, post_div; in radeon_compute_pll_avivo() local 999 post_div_min = pll->post_div; in radeon_compute_pll_avivo() 1017 post_div_min = vco_min / target_clock; in radeon_compute_pll_avivo() 1018 if ((target_clock * post_div_min) < vco_min) in radeon_compute_pll_avivo() 1019 ++post_div_min; in radeon_compute_pll_avivo() 1020 if (post_div_min < pll->min_post_div) in radeon_compute_pll_avivo() 1021 post_div_min = pll->min_post_div; in radeon_compute_pll_avivo() 1035 avivo_reduce_ratio(&nom, &den, fb_div_min, post_div_min); in radeon_compute_pll_avivo() 1039 post_div_best = post_div_min; in radeon_compute_pll_avivo() 1044 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { in radeon_compute_pll_avivo()
|