Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pll.c135 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-6.1.9/drivers/gpu/drm/radeon/
Dradeon_display.c969 unsigned post_div_min, post_div_max, post_div; in radeon_compute_pll_avivo() local
1000 post_div_min = pll->post_div; in radeon_compute_pll_avivo()
1018 post_div_min = vco_min / target_clock; in radeon_compute_pll_avivo()
1019 if ((target_clock * post_div_min) < vco_min) in radeon_compute_pll_avivo()
1020 ++post_div_min; in radeon_compute_pll_avivo()
1021 if (post_div_min < pll->min_post_div) in radeon_compute_pll_avivo()
1022 post_div_min = pll->min_post_div; in radeon_compute_pll_avivo()
1036 avivo_reduce_ratio(&nom, &den, fb_div_min, post_div_min); in radeon_compute_pll_avivo()
1040 post_div_best = post_div_min; in radeon_compute_pll_avivo()
1045 for (post_div = post_div_min; post_div <= post_div_max; ++post_div) { in radeon_compute_pll_avivo()