Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_pll.c121 unsigned target_clock = pll->flags & AMDGPU_PLL_USE_FRAC_FB_DIV ? in amdgpu_pll_compute() local
171 post_div_min = vco_min / target_clock; in amdgpu_pll_compute()
172 if ((target_clock * post_div_min) < vco_min) in amdgpu_pll_compute()
177 post_div_max = vco_max / target_clock; in amdgpu_pll_compute()
178 if ((target_clock * post_div_max) > vco_max) in amdgpu_pll_compute()
185 nom = target_clock; in amdgpu_pll_compute()
202 diff = abs(target_clock - (pll->reference_freq * fb_div) / in amdgpu_pll_compute()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_dvo.c208 int target_clock = mode->clock; in intel_dvo_mode_valid() local
221 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
224 if (target_clock > max_dotclk) in intel_dvo_mode_valid()
Dintel_drv.h1058 int ironlake_get_lanes_required(int target_clock, int link_bw, int bpp);
1162 bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state, int target_clock,
Dintel_dp.c209 int target_clock = mode->clock; in intel_dp_mode_valid() local
219 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
226 mode_rate = intel_dp_link_required(target_clock, 18); in intel_dp_mode_valid()
Dintel_display.c1057 bool bxt_find_best_dpll(struct intel_crtc_state *crtc_state, int target_clock, in bxt_find_best_dpll() argument
1063 target_clock, refclk, NULL, best_clock); in bxt_find_best_dpll()
8799 int ironlake_get_lanes_required(int target_clock, int link_bw, int bpp) in ironlake_get_lanes_required() argument
8806 u32 bps = target_clock * bpp * 21 / 20; in ironlake_get_lanes_required()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_display.c989 unsigned target_clock = pll->flags & RADEON_PLL_USE_FRAC_FB_DIV ? in radeon_compute_pll_avivo() local
1042 post_div_min = vco_min / target_clock; in radeon_compute_pll_avivo()
1043 if ((target_clock * post_div_min) < vco_min) in radeon_compute_pll_avivo()
1048 post_div_max = vco_max / target_clock; in radeon_compute_pll_avivo()
1049 if ((target_clock * post_div_max) > vco_max) in radeon_compute_pll_avivo()
1056 nom = target_clock; in radeon_compute_pll_avivo()
1073 diff = abs(target_clock - (pll->reference_freq * fb_div) / in radeon_compute_pll_avivo()