Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c122 unsigned target_clock = pll->flags & AMDGPU_PLL_USE_FRAC_FB_DIV ? in amdgpu_pll_compute() local
172 post_div_min = vco_min / target_clock; in amdgpu_pll_compute()
173 if ((target_clock * post_div_min) < vco_min) in amdgpu_pll_compute()
178 post_div_max = vco_max / target_clock; in amdgpu_pll_compute()
179 if ((target_clock * post_div_max) > vco_max) in amdgpu_pll_compute()
186 nom = target_clock; in amdgpu_pll_compute()
203 diff = abs(target_clock - (pll->reference_freq * fb_div) / in amdgpu_pll_compute()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/display/
H A Dintel_dvo.c229 int target_clock = mode->clock; in intel_dvo_mode_valid() local
242 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
245 if (target_clock > max_dotclk) in intel_dvo_mode_valid()
H A Dintel_dp.c623 int target_clock) in intel_dp_mode_valid_downstream() argument
630 target_clock > intel_dp->dfp.max_dotclock) in intel_dp_mode_valid_downstream()
634 tmds_clock = target_clock; in intel_dp_mode_valid_downstream()
656 int target_clock = mode->clock; in intel_dp_mode_valid() local
673 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
680 mode_rate = intel_dp_link_required(target_clock, 18); in intel_dp_mode_valid()
702 target_clock, in intel_dp_mode_valid()
706 target_clock, in intel_dp_mode_valid()
712 target_clock > max_dotclk) in intel_dp_mode_valid()
722 mode, target_clock); in intel_dp_mode_valid()
H A Dintel_display.h543 int ilk_get_lanes_required(int target_clock, int link_bw, int bpp);
H A Dintel_display.c10236 int ilk_get_lanes_required(int target_clock, int link_bw, int bpp) in ilk_get_lanes_required() argument
10243 u32 bps = target_clock * bpp * 21 / 20; in ilk_get_lanes_required()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dradeon_display.c966 unsigned target_clock = pll->flags & RADEON_PLL_USE_FRAC_FB_DIV ? in radeon_compute_pll_avivo() local
1019 post_div_min = vco_min / target_clock; in radeon_compute_pll_avivo()
1020 if ((target_clock * post_div_min) < vco_min) in radeon_compute_pll_avivo()
1025 post_div_max = vco_max / target_clock; in radeon_compute_pll_avivo()
1026 if ((target_clock * post_div_max) > vco_max) in radeon_compute_pll_avivo()
1033 nom = target_clock; in radeon_compute_pll_avivo()
1050 diff = abs(target_clock - (pll->reference_freq * fb_div) / in radeon_compute_pll_avivo()