Searched refs:test_amdgpu_crtc (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pll.c263 struct amdgpu_crtc *test_amdgpu_crtc; amdgpu_pll_get_use_mask() local
270 test_amdgpu_crtc = to_amdgpu_crtc(test_crtc); amdgpu_pll_get_use_mask()
271 if (test_amdgpu_crtc->pll_id != ATOM_PPLL_INVALID) amdgpu_pll_get_use_mask()
272 pll_in_use |= (1 << test_amdgpu_crtc->pll_id); amdgpu_pll_get_use_mask()
290 struct amdgpu_crtc *test_amdgpu_crtc; amdgpu_pll_get_shared_dp_ppll() local
295 test_amdgpu_crtc = to_amdgpu_crtc(test_crtc); amdgpu_pll_get_shared_dp_ppll()
296 if (test_amdgpu_crtc->encoder && amdgpu_pll_get_shared_dp_ppll()
297 ENCODER_MODE_IS_DP(amdgpu_atombios_encoder_get_encoder_mode(test_amdgpu_crtc->encoder))) { amdgpu_pll_get_shared_dp_ppll()
299 if (test_amdgpu_crtc->pll_id != ATOM_PPLL_INVALID) amdgpu_pll_get_shared_dp_ppll()
300 return test_amdgpu_crtc->pll_id; amdgpu_pll_get_shared_dp_ppll()
320 struct amdgpu_crtc *test_amdgpu_crtc; amdgpu_pll_get_shared_nondp_ppll() local
331 test_amdgpu_crtc = to_amdgpu_crtc(test_crtc); amdgpu_pll_get_shared_nondp_ppll()
332 if (test_amdgpu_crtc->encoder && amdgpu_pll_get_shared_nondp_ppll()
333 !ENCODER_MODE_IS_DP(amdgpu_atombios_encoder_get_encoder_mode(test_amdgpu_crtc->encoder))) { amdgpu_pll_get_shared_nondp_ppll()
335 if (test_amdgpu_crtc->connector == amdgpu_crtc->connector) { amdgpu_pll_get_shared_nondp_ppll()
337 if (test_amdgpu_crtc->pll_id != ATOM_PPLL_INVALID) amdgpu_pll_get_shared_nondp_ppll()
338 return test_amdgpu_crtc->pll_id; amdgpu_pll_get_shared_nondp_ppll()
341 test_adjusted_clock = test_amdgpu_crtc->adjusted_clock; amdgpu_pll_get_shared_nondp_ppll()
344 (amdgpu_crtc->ss_enabled == test_amdgpu_crtc->ss_enabled) && amdgpu_pll_get_shared_nondp_ppll()
345 (test_amdgpu_crtc->pll_id != ATOM_PPLL_INVALID)) amdgpu_pll_get_shared_nondp_ppll()
346 return test_amdgpu_crtc->pll_id; amdgpu_pll_get_shared_nondp_ppll()

Completed in 106 milliseconds