Home
last modified time | relevance | path

Searched refs:old_crtc_state (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v4.19/drivers/gpu/drm/
Ddrm_atomic_helper.c568 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_check_modeset() local
574 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
580 if (!drm_mode_equal(&old_crtc_state->mode, &new_crtc_state->mode)) { in drm_atomic_helper_check_modeset()
586 if (old_crtc_state->enable != new_crtc_state->enable) { in drm_atomic_helper_check_modeset()
602 if (old_crtc_state->active != new_crtc_state->active) { in drm_atomic_helper_check_modeset()
657 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
919 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in disable_outputs() local
931 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs()
933 if (!old_crtc_state->active || in disable_outputs()
969 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in disable_outputs()
[all …]
Ddrm_blend.c424 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_normalize_zpos() local
439 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_normalize_zpos()
440 if (old_crtc_state->plane_mask != new_crtc_state->plane_mask || in drm_atomic_normalize_zpos()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_atomic_plane.c110 int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, in intel_plane_atomic_check_with_state() argument
190 return intel_plane_atomic_calc_changes(old_crtc_state, in intel_plane_atomic_check_with_state()
203 const struct drm_crtc_state *old_crtc_state; in intel_plane_atomic_check() local
209 old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); in intel_plane_atomic_check()
212 return intel_plane_atomic_check_with_state(to_intel_crtc_state(old_crtc_state), in intel_plane_atomic_check()
Dintel_crt.c199 const struct intel_crtc_state *old_crtc_state, in intel_disable_crt() argument
202 intel_crt_set_dpms(encoder, old_crtc_state, DRM_MODE_DPMS_OFF); in intel_disable_crt()
206 const struct intel_crtc_state *old_crtc_state, in pch_disable_crt() argument
212 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_crt() argument
215 intel_disable_crt(encoder, old_crtc_state, old_conn_state); in pch_post_disable_crt()
219 const struct intel_crtc_state *old_crtc_state, in hsw_disable_crt() argument
224 WARN_ON(!old_crtc_state->has_pch_encoder); in hsw_disable_crt()
230 const struct intel_crtc_state *old_crtc_state, in hsw_post_disable_crt() argument
235 intel_ddi_disable_pipe_clock(old_crtc_state); in hsw_post_disable_crt()
237 pch_post_disable_crt(encoder, old_crtc_state, old_conn_state); in hsw_post_disable_crt()
[all …]
Dintel_audio.c238 const struct intel_crtc_state *old_crtc_state, in g4x_audio_codec_disable() argument
400 const struct intel_crtc_state *old_crtc_state, in hsw_audio_codec_disable() argument
404 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in hsw_audio_codec_disable()
418 if (intel_crtc_has_dp_encoder(old_crtc_state)) in hsw_audio_codec_disable()
483 const struct intel_crtc_state *old_crtc_state, in ilk_audio_codec_disable() argument
487 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in ilk_audio_codec_disable()
516 if (intel_crtc_has_dp_encoder(old_crtc_state)) in ilk_audio_codec_disable()
676 const struct intel_crtc_state *old_crtc_state, in intel_audio_codec_disable() argument
681 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in intel_audio_codec_disable()
687 old_crtc_state, in intel_audio_codec_disable()
[all …]
Dintel_dp_mst.c136 const struct intel_crtc_state *old_crtc_state, in intel_mst_disable_dp() argument
154 if (old_crtc_state->has_audio) in intel_mst_disable_dp()
156 old_crtc_state, old_conn_state); in intel_mst_disable_dp()
160 const struct intel_crtc_state *old_crtc_state, in intel_mst_post_disable_dp() argument
169 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_mst_post_disable_dp()
191 old_crtc_state, NULL); in intel_mst_post_disable_dp()
Dintel_ddi.c2805 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable_dp() argument
2811 bool is_mst = intel_crtc_has_type(old_crtc_state, in intel_ddi_post_disable_dp()
2815 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_dp()
2837 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable_hdmi() argument
2845 old_crtc_state, old_conn_state); in intel_ddi_post_disable_hdmi()
2847 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_hdmi()
2859 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable() argument
2875 if (intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_HDMI)) in intel_ddi_post_disable()
2877 old_crtc_state, old_conn_state); in intel_ddi_post_disable()
2880 old_crtc_state, old_conn_state); in intel_ddi_post_disable()
[all …]
Dintel_hdmi.c1391 const struct intel_crtc_state *old_crtc_state, in intel_disable_hdmi() argument
1399 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in intel_disable_hdmi()
1442 old_crtc_state, old_conn_state); in intel_disable_hdmi()
1448 const struct intel_crtc_state *old_crtc_state, in g4x_disable_hdmi() argument
1451 if (old_crtc_state->has_audio) in g4x_disable_hdmi()
1453 old_crtc_state, old_conn_state); in g4x_disable_hdmi()
1455 intel_disable_hdmi(encoder, old_crtc_state, old_conn_state); in g4x_disable_hdmi()
1459 const struct intel_crtc_state *old_crtc_state, in pch_disable_hdmi() argument
1462 if (old_crtc_state->has_audio) in pch_disable_hdmi()
1464 old_crtc_state, old_conn_state); in pch_disable_hdmi()
[all …]
Dintel_display.c1085 intel_wait_for_pipe_off(const struct intel_crtc_state *old_crtc_state) in intel_wait_for_pipe_off() argument
1087 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in intel_wait_for_pipe_off()
1091 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_wait_for_pipe_off()
1875 static void intel_disable_pipe(const struct intel_crtc_state *old_crtc_state) in intel_disable_pipe() argument
1877 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in intel_disable_pipe()
1879 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_disable_pipe()
1901 if (old_crtc_state->double_wide) in intel_disable_pipe()
1910 intel_wait_for_pipe_off(old_crtc_state); in intel_disable_pipe()
3829 static void intel_update_pipe_config(const struct intel_crtc_state *old_crtc_state, in intel_update_pipe_config() argument
3860 else if (old_crtc_state->pch_pfit.enabled) in intel_update_pipe_config()
[all …]
Dintel_lvds.c333 const struct intel_crtc_state *old_crtc_state, in intel_disable_lvds() argument
348 const struct intel_crtc_state *old_crtc_state, in gmch_disable_lvds() argument
354 intel_disable_lvds(encoder, old_crtc_state, old_conn_state); in gmch_disable_lvds()
358 const struct intel_crtc_state *old_crtc_state, in pch_disable_lvds() argument
365 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_lvds() argument
368 intel_disable_lvds(encoder, old_crtc_state, old_conn_state); in pch_post_disable_lvds()
Dintel_dp.c123 const struct intel_crtc_state *old_crtc_state);
2564 const struct intel_crtc_state *old_crtc_state) in ironlake_edp_pll_off() argument
2566 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in ironlake_edp_pll_off()
2786 const struct intel_crtc_state *old_crtc_state, in intel_disable_dp() argument
2793 if (old_crtc_state->has_audio) in intel_disable_dp()
2795 old_crtc_state, old_conn_state); in intel_disable_dp()
2806 const struct intel_crtc_state *old_crtc_state, in g4x_disable_dp() argument
2809 intel_disable_dp(encoder, old_crtc_state, old_conn_state); in g4x_disable_dp()
2813 const struct intel_crtc_state *old_crtc_state, in vlv_disable_dp() argument
2816 intel_disable_dp(encoder, old_crtc_state, old_conn_state); in vlv_disable_dp()
[all …]
Dintel_dpio_phy.c951 const struct intel_crtc_state *old_crtc_state) in chv_phy_post_pll_disable() argument
954 enum pipe pipe = to_intel_crtc(old_crtc_state->base.crtc)->pipe; in chv_phy_post_pll_disable()
1068 const struct intel_crtc_state *old_crtc_state) in vlv_phy_reset_lanes() argument
1072 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in vlv_phy_reset_lanes()
/Linux-v4.19/include/drm/
Ddrm_modeset_helper_vtables.h375 struct drm_crtc_state *old_crtc_state);
399 struct drm_crtc_state *old_crtc_state);
423 struct drm_crtc_state *old_crtc_state);
446 struct drm_crtc_state *old_crtc_state);
Ddrm_atomic.h707 #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
713 (old_crtc_state) = (__state)->crtcs[__i].old_state, \
727 #define for_each_old_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
733 (old_crtc_state) = (__state)->crtcs[__i].old_state, 1))
Ddrm_atomic_helper.h91 void drm_atomic_helper_commit_planes_on_crtc(struct drm_crtc_state *old_crtc_state);
93 drm_atomic_helper_disable_planes_on_crtc(struct drm_crtc_state *old_crtc_state,
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_kms.c326 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_ctm_atomic_check() local
330 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
332 if (!new_crtc_state->ctm && old_crtc_state->ctm) { in vc4_ctm_atomic_check()
340 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
341 if (new_crtc_state->ctm == old_crtc_state->ctm) in vc4_ctm_atomic_check()
/Linux-v4.19/drivers/gpu/drm/imx/
Dipuv3-crtc.c65 struct drm_crtc_state *old_crtc_state) in ipu_crtc_disable_planes() argument
71 drm_atomic_crtc_state_for_each_plane(plane, old_crtc_state) { in ipu_crtc_disable_planes()
85 struct drm_crtc_state *old_crtc_state) in ipu_crtc_atomic_disable() argument
97 ipu_crtc_disable_planes(ipu_crtc, old_crtc_state); in ipu_crtc_atomic_disable()
224 struct drm_crtc_state *old_crtc_state) in ipu_crtc_atomic_begin() argument
230 struct drm_crtc_state *old_crtc_state) in ipu_crtc_atomic_flush() argument
/Linux-v4.19/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_crtc.c26 struct drm_crtc_state *old_crtc_state) in fsl_dcu_drm_crtc_atomic_flush() argument
48 struct drm_crtc_state *old_crtc_state) in fsl_dcu_drm_crtc_atomic_disable() argument
54 drm_atomic_helper_disable_planes_on_crtc(old_crtc_state, true); in fsl_dcu_drm_crtc_atomic_disable()
/Linux-v4.19/drivers/gpu/drm/exynos/
Dexynos_drm_crtc.c70 struct drm_crtc_state *old_crtc_state) in exynos_crtc_atomic_begin() argument
79 struct drm_crtc_state *old_crtc_state) in exynos_crtc_atomic_flush() argument
/Linux-v4.19/drivers/gpu/drm/arm/
Dmalidp_drv.c224 struct drm_crtc_state *old_crtc_state; in malidp_atomic_commit_tail() local
238 for_each_old_crtc_in_state(state, crtc, old_crtc_state, i) { in malidp_atomic_commit_tail()
239 malidp_atomic_commit_update_gamma(crtc, old_crtc_state); in malidp_atomic_commit_tail()
240 malidp_atomic_commit_update_coloradj(crtc, old_crtc_state); in malidp_atomic_commit_tail()
241 malidp_atomic_commit_se_config(crtc, old_crtc_state); in malidp_atomic_commit_tail()
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.h386 struct drm_crtc_state *old_crtc_state);
388 struct drm_crtc_state *old_crtc_state);
/Linux-v4.19/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c4347 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in amdgpu_dm_atomic_commit() local
4358 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in amdgpu_dm_atomic_commit()
4359 struct dm_crtc_state *dm_old_crtc_state = to_dm_crtc_state(old_crtc_state); in amdgpu_dm_atomic_commit()
4381 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in amdgpu_dm_atomic_commit_tail() local
4394 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in amdgpu_dm_atomic_commit_tail()
4398 dm_old_crtc_state = to_dm_crtc_state(old_crtc_state); in amdgpu_dm_atomic_commit_tail()
4469 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, in amdgpu_dm_atomic_commit_tail()
4477 dm_old_crtc_state = to_dm_crtc_state(old_crtc_state); in amdgpu_dm_atomic_commit_tail()
4550 old_crtc_state = drm_atomic_get_old_crtc_state(state, &acrtc->base); in amdgpu_dm_atomic_commit_tail()
4579 to_dm_crtc_state(old_crtc_state), in amdgpu_dm_atomic_commit_tail()
[all …]
/Linux-v4.19/drivers/gpu/drm/vkms/
Dvkms_crtc.c91 struct drm_crtc_state *old_crtc_state) in vkms_crtc_atomic_flush() argument
/Linux-v4.19/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c1710 struct drm_crtc_state *new_crtc_state, *old_crtc_state; in nv50_disp_atomic_commit_tail() local
1730 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in nv50_disp_atomic_commit_tail()
1736 if (old_crtc_state->active && !new_crtc_state->active) in nv50_disp_atomic_commit_tail()
1810 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in nv50_disp_atomic_commit_tail()
1823 if (!old_crtc_state->active) in nv50_disp_atomic_commit_tail()
1997 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in nv50_disp_outp_atomic_check_clr() local
2004 old_crtc_state = drm_atomic_get_old_crtc_state(&atom->state, crtc); in nv50_disp_outp_atomic_check_clr()
2006 if (old_crtc_state->active && drm_atomic_crtc_needs_modeset(new_crtc_state)) { in nv50_disp_outp_atomic_check_clr()
/Linux-v4.19/drivers/gpu/drm/meson/
Dmeson_crtc.c146 struct drm_crtc_state *old_crtc_state) in meson_crtc_atomic_flush() argument

12