Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A 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()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_dvo.c225 int target_clock = mode->clock; in intel_dvo_mode_valid() local
244 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
247 if (target_clock > max_dotclk) in intel_dvo_mode_valid()
H A Dintel_dp_mst.c916 int target_clock = mode->clock; in intel_dp_mst_mode_valid_ctx() local
958 if (intel_dp_need_bigjoiner(intel_dp, mode->hdisplay, target_clock)) { in intel_dp_mst_mode_valid_ctx()
980 target_clock, in intel_dp_mst_mode_valid_ctx()
986 target_clock, in intel_dp_mst_mode_valid_ctx()
H A Dintel_dp.c1056 int target_clock) in intel_dp_mode_valid_downstream() argument
1069 target_bw = bpp * target_clock; in intel_dp_mode_valid_downstream()
1083 target_clock > intel_dp->dfp.max_dotclock) in intel_dp_mode_valid_downstream()
1089 status = intel_dp_tmds_clock_valid(intel_dp, target_clock, in intel_dp_mode_valid_downstream()
1098 status = intel_dp_tmds_clock_valid(intel_dp, target_clock, in intel_dp_mode_valid_downstream()
1126 int target_clock = mode->clock; in intel_dp_mode_valid() local
1147 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
1153 if (intel_dp_need_bigjoiner(intel_dp, mode->hdisplay, target_clock)) { in intel_dp_mode_valid()
1157 if (target_clock > max_dotclk) in intel_dp_mode_valid()
1167 mode_rate = intel_dp_link_required(target_clock, in intel_dp_mode_valid()
[all …]
H A Dintel_display.h457 int ilk_get_lanes_required(int target_clock, int link_bw, int bpp);
H A 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()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_display.c964 unsigned target_clock = pll->flags & RADEON_PLL_USE_FRAC_FB_DIV ? in radeon_compute_pll_avivo() local
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()
1023 post_div_max = vco_max / target_clock; in radeon_compute_pll_avivo()
1024 if ((target_clock * post_div_max) > vco_max) in radeon_compute_pll_avivo()
1031 nom = target_clock; in radeon_compute_pll_avivo()
1048 diff = abs(target_clock - (pll->reference_freq * fb_div) / in radeon_compute_pll_avivo()