Home
last modified time | relevance | path

Searched refs:target_clock (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pll.c131 unsigned target_clock = pll->flags & AMDGPU_PLL_USE_FRAC_FB_DIV ? in amdgpu_pll_compute() local
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()
187 post_div_max = vco_max / target_clock; in amdgpu_pll_compute()
188 if ((target_clock * post_div_max) > vco_max) in amdgpu_pll_compute()
195 nom = target_clock; in amdgpu_pll_compute()
212 diff = abs(target_clock - (pll->reference_freq * fb_div) / in amdgpu_pll_compute()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_dvo.c231 int target_clock = mode->clock; in intel_dvo_mode_valid() local
245 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
248 if (target_clock > max_dotclk) in intel_dvo_mode_valid()
Dintel_dp.c898 int target_clock) in intel_dp_mode_valid_downstream() argument
911 target_bw = bpp * target_clock; in intel_dp_mode_valid_downstream()
925 target_clock > intel_dp->dfp.max_dotclock) in intel_dp_mode_valid_downstream()
931 status = intel_dp_tmds_clock_valid(intel_dp, target_clock, in intel_dp_mode_valid_downstream()
940 status = intel_dp_tmds_clock_valid(intel_dp, target_clock, in intel_dp_mode_valid_downstream()
968 int target_clock = mode->clock; in intel_dp_mode_valid() local
988 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
994 if (intel_dp_need_bigjoiner(intel_dp, mode->hdisplay, target_clock)) { in intel_dp_mode_valid()
998 if (target_clock > max_dotclk) in intel_dp_mode_valid()
1005 mode_rate = intel_dp_link_required(target_clock, in intel_dp_mode_valid()
[all …]
Dintel_display.h604 int ilk_get_lanes_required(int target_clock, int link_bw, int bpp);
Dintel_display.c3519 int ilk_get_lanes_required(int target_clock, int link_bw, int bpp) in ilk_get_lanes_required() argument
3526 u32 bps = target_clock * bpp * 21 / 20; in ilk_get_lanes_required()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_display.c965 unsigned target_clock = pll->flags & RADEON_PLL_USE_FRAC_FB_DIV ? in radeon_compute_pll_avivo() local
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()
1024 post_div_max = vco_max / target_clock; in radeon_compute_pll_avivo()
1025 if ((target_clock * post_div_max) > vco_max) in radeon_compute_pll_avivo()
1032 nom = target_clock; in radeon_compute_pll_avivo()
1049 diff = abs(target_clock - (pll->reference_freq * fb_div) / in radeon_compute_pll_avivo()