Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/drivers/gpu/drm/i915/display/
Dintel_dvo.c224 int target_clock = mode->clock; in intel_dvo_mode_valid() local
238 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
241 if (target_clock > max_dotclk) in intel_dvo_mode_valid()
Dintel_dp_mst.c917 int target_clock = mode->clock; in intel_dp_mst_mode_valid_ctx() local
955 if (intel_dp_need_bigjoiner(intel_dp, mode->hdisplay, target_clock)) { in intel_dp_mst_mode_valid_ctx()
973 target_clock, in intel_dp_mst_mode_valid_ctx()
979 target_clock, in intel_dp_mst_mode_valid_ctx()
Dintel_dp.c1052 int target_clock) in intel_dp_mode_valid_downstream() argument
1065 target_bw = bpp * target_clock; in intel_dp_mode_valid_downstream()
1079 target_clock > intel_dp->dfp.max_dotclock) in intel_dp_mode_valid_downstream()
1085 status = intel_dp_tmds_clock_valid(intel_dp, target_clock, in intel_dp_mode_valid_downstream()
1094 status = intel_dp_tmds_clock_valid(intel_dp, target_clock, in intel_dp_mode_valid_downstream()
1122 int target_clock = mode->clock; in intel_dp_mode_valid() local
1139 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
1145 if (intel_dp_need_bigjoiner(intel_dp, mode->hdisplay, target_clock)) { in intel_dp_mode_valid()
1149 if (target_clock > max_dotclk) in intel_dp_mode_valid()
1159 mode_rate = intel_dp_link_required(target_clock, in intel_dp_mode_valid()
[all …]
Dintel_display.h454 int ilk_get_lanes_required(int target_clock, int link_bw, int bpp);
Dintel_display.c3197 int ilk_get_lanes_required(int target_clock, int link_bw, int bpp) in ilk_get_lanes_required() argument
3204 u32 bps = target_clock * bpp * 21 / 20; in ilk_get_lanes_required()
/Linux-v6.6/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()