Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
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()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_dvo.c216 int target_clock = mode->clock; in intel_dvo_mode_valid() local
229 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
232 if (target_clock > max_dotclk) in intel_dvo_mode_valid()
Dintel_drv.h1549 int ironlake_get_lanes_required(int target_clock, int link_bw, int bpp);
1626 bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state, int target_clock,
Dintel_dp.c433 int target_clock = mode->clock; in intel_dp_mode_valid() local
449 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
456 mode_rate = intel_dp_link_required(target_clock, 18); in intel_dp_mode_valid()
458 if (mode_rate > max_rate || target_clock > max_dotclk) in intel_dp_mode_valid()
Dintel_display.c1007 bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state, int target_clock, in bxt_find_best_dpll() argument
1014 target_clock, refclk, NULL, best_clock); in bxt_find_best_dpll()
8470 int ironlake_get_lanes_required(int target_clock, int link_bw, int bpp) in ironlake_get_lanes_required() argument
8477 u32 bps = target_clock * bpp * 21 / 20; in ironlake_get_lanes_required()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_display.c955 unsigned target_clock = pll->flags & RADEON_PLL_USE_FRAC_FB_DIV ? in radeon_compute_pll_avivo() local
1008 post_div_min = vco_min / target_clock; in radeon_compute_pll_avivo()
1009 if ((target_clock * post_div_min) < vco_min) in radeon_compute_pll_avivo()
1014 post_div_max = vco_max / target_clock; in radeon_compute_pll_avivo()
1015 if ((target_clock * post_div_max) > vco_max) in radeon_compute_pll_avivo()
1022 nom = target_clock; in radeon_compute_pll_avivo()
1039 diff = abs(target_clock - (pll->reference_freq * fb_div) / in radeon_compute_pll_avivo()