Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/i915/display/
A Dg4x_hdmi.c348 old_crtc_state, old_conn_state); in intel_disable_hdmi()
355 const struct intel_crtc_state *old_crtc_state, in g4x_disable_hdmi() argument
358 if (old_crtc_state->has_audio) in g4x_disable_hdmi()
360 old_crtc_state, old_conn_state); in g4x_disable_hdmi()
370 if (old_crtc_state->has_audio) in pch_disable_hdmi()
372 old_crtc_state, old_conn_state); in pch_disable_hdmi()
377 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_hdmi() argument
447 chv_phy_post_pll_disable(encoder, old_crtc_state); in chv_hdmi_post_pll_disable()
452 const struct intel_crtc_state *old_crtc_state, in vlv_hdmi_post_disable() argument
456 vlv_phy_reset_lanes(encoder, old_crtc_state); in vlv_hdmi_post_disable()
[all …]
A Dintel_vrr.c38 struct intel_crtc_state *old_crtc_state, *new_crtc_state; in intel_vrr_check_modeset() local
41 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state, in intel_vrr_check_modeset()
44 old_crtc_state->uapi.vrr_enabled) in intel_vrr_check_modeset()
196 void intel_vrr_disable(const struct intel_crtc_state *old_crtc_state) in intel_vrr_disable() argument
198 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_vrr_disable()
200 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_vrr_disable()
202 if (!old_crtc_state->vrr.enable) in intel_vrr_disable()
A Dg4x_dp.c249 const struct intel_crtc_state *old_crtc_state) in ilk_edp_pll_off() argument
423 const struct intel_crtc_state *old_crtc_state) in intel_dp_link_down() argument
500 if (old_crtc_state->has_audio) in intel_disable_dp()
502 old_crtc_state, old_conn_state); in intel_disable_dp()
532 const struct intel_crtc_state *old_crtc_state, in g4x_post_disable_dp() argument
544 intel_dp_link_down(encoder, old_crtc_state); in g4x_post_disable_dp()
548 ilk_edp_pll_off(intel_dp, old_crtc_state); in g4x_post_disable_dp()
553 const struct intel_crtc_state *old_crtc_state, in vlv_post_disable_dp() argument
556 intel_dp_link_down(encoder, old_crtc_state); in vlv_post_disable_dp()
561 const struct intel_crtc_state *old_crtc_state, in chv_post_disable_dp() argument
[all …]
A Dintel_dp_mst.c356 if (old_crtc_state->has_audio) in intel_mst_pre_disable_dp()
363 const struct intel_crtc_state *old_crtc_state, in intel_mst_disable_dp() argument
406 intel_crtc_vblank_off(old_crtc_state); in intel_mst_post_disable_dp()
408 intel_disable_transcoder(old_crtc_state); in intel_mst_post_disable_dp()
412 clear_act_sent(encoder, old_crtc_state); in intel_mst_post_disable_dp()
417 wait_for_act_sent(encoder, old_crtc_state); in intel_mst_post_disable_dp()
424 skl_scaler_disable(old_crtc_state); in intel_mst_post_disable_dp()
426 ilk_pfit_disable(old_crtc_state); in intel_mst_post_disable_dp()
441 old_crtc_state, NULL); in intel_mst_post_disable_dp()
450 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_mst_post_disable_dp()
[all …]
A Dintel_crt.c212 const struct intel_crtc_state *old_crtc_state, in intel_disable_crt() argument
220 const struct intel_crtc_state *old_crtc_state, in pch_disable_crt() argument
227 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_crt() argument
235 const struct intel_crtc_state *old_crtc_state, in hsw_disable_crt() argument
240 drm_WARN_ON(&dev_priv->drm, !old_crtc_state->has_pch_encoder); in hsw_disable_crt()
247 const struct intel_crtc_state *old_crtc_state, in hsw_post_disable_crt() argument
252 intel_crtc_vblank_off(old_crtc_state); in hsw_post_disable_crt()
254 intel_disable_transcoder(old_crtc_state); in hsw_post_disable_crt()
256 intel_ddi_disable_transcoder_func(old_crtc_state); in hsw_post_disable_crt()
258 ilk_pfit_disable(old_crtc_state); in hsw_post_disable_crt()
[all …]
A Dintel_atomic_plane.c215 const struct intel_crtc_state *old_crtc_state; in intel_plane_calc_min_cdclk() local
221 old_crtc_state = intel_atomic_get_old_crtc_state(state, crtc); in intel_plane_calc_min_cdclk()
236 old_crtc_state->min_cdclk[plane->id]) in intel_plane_calc_min_cdclk()
370 return intel_plane_atomic_calc_changes(old_crtc_state, new_crtc_state, in intel_plane_atomic_check_with_state()
398 const struct intel_crtc_state *old_crtc_state = in intel_plane_atomic_check() local
422 return intel_plane_atomic_check_with_state(old_crtc_state, in intel_plane_atomic_check()
498 struct intel_crtc_state *old_crtc_state = in skl_update_planes_on_crtc() local
507 memcpy(entries_y, old_crtc_state->wm.skl.plane_ddb_y, in skl_update_planes_on_crtc()
508 sizeof(old_crtc_state->wm.skl.plane_ddb_y)); in skl_update_planes_on_crtc()
509 memcpy(entries_uv, old_crtc_state->wm.skl.plane_ddb_uv, in skl_update_planes_on_crtc()
[all …]
A Dintel_display.c810 if (old_crtc_state->double_wide) in intel_disable_transcoder()
1806 if (!old_crtc_state->ips_enabled) in hsw_pre_update_disable_ips()
2058 hsw_disable_ips(old_crtc_state); in intel_pre_plane_update()
2102 if (old_crtc_state->hw.active && in intel_pre_plane_update()
2774 ilk_pfit_disable(old_crtc_state); in ilk_crtc_disable()
3213 i9xx_pfit_disable(old_crtc_state); in i9xx_crtc_disable()
9441 old_crtc_state->inherited) in intel_update_crtc()
9463 if (old_crtc_state->bigjoiner) { in intel_old_crtc_state_disables()
9499 if (!old_crtc_state->hw.active) in intel_commit_modeset_disables()
9526 if (old_crtc_state->bigjoiner) { in intel_commit_modeset_disables()
[all …]
A Dintel_ddi.c2727 old_crtc_state, old_conn_state); in intel_ddi_post_disable_dp()
2784 old_crtc_state, old_conn_state); in intel_ddi_post_disable_hdmi()
2810 intel_crtc_vblank_off(old_crtc_state); in intel_ddi_post_disable()
2812 intel_disable_transcoder(old_crtc_state); in intel_ddi_post_disable()
2814 intel_vrr_disable(old_crtc_state); in intel_ddi_post_disable()
2818 intel_dsc_disable(old_crtc_state); in intel_ddi_post_disable()
2821 skl_scaler_disable(old_crtc_state); in intel_ddi_post_disable()
2823 ilk_pfit_disable(old_crtc_state); in intel_ddi_post_disable()
2826 if (old_crtc_state->bigjoiner_linked_crtc) { in intel_ddi_post_disable()
2830 old_crtc_state->bigjoiner_linked_crtc; in intel_ddi_post_disable()
[all …]
A Dintel_dpio_phy.h46 const struct intel_crtc_state *old_crtc_state);
57 const struct intel_crtc_state *old_crtc_state);
A Dintel_atomic_plane.h47 int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state,
53 int intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_crtc_state,
A Dintel_audio.c324 const struct intel_crtc_state *old_crtc_state, in g4x_audio_codec_disable() argument
487 const struct intel_crtc_state *old_crtc_state, in hsw_audio_codec_disable() argument
491 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in hsw_audio_codec_disable()
505 if (intel_crtc_has_dp_encoder(old_crtc_state)) in hsw_audio_codec_disable()
686 const struct intel_crtc_state *old_crtc_state, in ilk_audio_codec_disable() argument
690 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in ilk_audio_codec_disable()
721 if (intel_crtc_has_dp_encoder(old_crtc_state)) in ilk_audio_codec_disable()
887 const struct intel_crtc_state *old_crtc_state, in intel_audio_codec_disable() argument
892 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_audio_codec_disable()
898 old_crtc_state, in intel_audio_codec_disable()
[all …]
A Dintel_display.h482 #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
486 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
491 #define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, … argument
495 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
536 void intel_disable_transcoder(const struct intel_crtc_state *old_crtc_state);
607 void ilk_pfit_disable(const struct intel_crtc_state *old_crtc_state);
A Dintel_drrs.c221 const struct intel_crtc_state *old_crtc_state) in intel_drrs_disable() argument
225 if (!old_crtc_state->has_drrs) in intel_drrs_disable()
234 intel_drrs_disable_locked(intel_dp, old_crtc_state); in intel_drrs_disable()
A Dintel_lvds.c334 const struct intel_crtc_state *old_crtc_state, in intel_disable_lvds() argument
353 const struct intel_crtc_state *old_crtc_state, in gmch_disable_lvds() argument
359 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in gmch_disable_lvds()
364 const struct intel_crtc_state *old_crtc_state, in pch_disable_lvds() argument
372 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_lvds() argument
375 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_lvds()
/linux/drivers/gpu/drm/
A Ddrm_atomic_helper.c1341 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_modeset_enables() local
2210 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_wait_for_dependencies() local
2314 if (old_crtc_state->commit) in drm_atomic_helper_commit_hw_done()
2345 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_cleanup_done() local
2350 commit = old_crtc_state->commit; in drm_atomic_helper_commit_cleanup_done()
2593 struct drm_crtc *crtc = old_crtc_state->crtc; in drm_atomic_helper_commit_planes_on_crtc()
2600 plane_mask = old_crtc_state->plane_mask; in drm_atomic_helper_commit_planes_on_crtc()
2780 commit = old_crtc_state->commit; in drm_atomic_helper_swap_state()
2824 WARN_ON(crtc->state != old_crtc_state); in drm_atomic_helper_swap_state()
2826 old_crtc_state->state = state; in drm_atomic_helper_swap_state()
[all …]
A Ddrm_self_refresh_helper.c150 struct drm_crtc_state *old_crtc_state; in drm_self_refresh_helper_update_avg_times() local
153 for_each_old_crtc_in_state(state, crtc, old_crtc_state, i) { in drm_self_refresh_helper_update_avg_times()
158 if (old_crtc_state->self_refresh_active == in drm_self_refresh_helper_update_avg_times()
A Ddrm_blend.c515 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_normalize_zpos() local
530 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_normalize_zpos()
531 if (old_crtc_state->plane_mask != new_crtc_state->plane_mask || in drm_atomic_normalize_zpos()
/linux/drivers/gpu/drm/imx/dcss/
A Ddcss-crtc.c83 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, in dcss_crtc_atomic_enable() local
89 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_enable()
101 if (!drm_mode_equal(mode, old_mode) || !old_crtc_state->active) { in dcss_crtc_atomic_enable()
119 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, in dcss_crtc_atomic_disable() local
125 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_disable()
127 drm_atomic_helper_disable_planes_on_crtc(old_crtc_state, false); in dcss_crtc_atomic_disable()
/linux/drivers/gpu/drm/vc4/
A Dvc4_kms.c486 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_ctm_atomic_check() local
490 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
492 if (!new_crtc_state->ctm && old_crtc_state->ctm) { in vc4_ctm_atomic_check()
500 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
501 if (new_crtc_state->ctm == old_crtc_state->ctm) in vc4_ctm_atomic_check()
755 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_pv_muxing_atomic_check() local
768 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_pv_muxing_atomic_check()
770 to_vc4_crtc_state(old_crtc_state); in vc4_pv_muxing_atomic_check()
778 if (old_crtc_state->enable == new_crtc_state->enable) in vc4_pv_muxing_atomic_check()
/linux/drivers/gpu/drm/vkms/
A Dvkms_drv.c67 struct drm_crtc_state *old_crtc_state; in vkms_atomic_commit_tail() local
82 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in vkms_atomic_commit_tail()
84 to_vkms_crtc_state(old_crtc_state); in vkms_atomic_commit_tail()
/linux/include/drm/
A Ddrm_atomic.h801 #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
808 (old_crtc_state) = (__state)->crtcs[__i].old_state, \
809 (void)(old_crtc_state) /* Only to avoid unused-but-set-variable warning */, \
824 #define for_each_old_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
831 (old_crtc_state) = (__state)->crtcs[__i].old_state, 1))
A Ddrm_atomic_helper.h96 void drm_atomic_helper_commit_planes_on_crtc(struct drm_crtc_state *old_crtc_state);
98 drm_atomic_helper_disable_planes_on_crtc(struct drm_crtc_state *old_crtc_state,
/linux/drivers/gpu/drm/rockchip/
A Danalogix_dp-rockchip.c171 struct drm_crtc_state *old_crtc_state; in rockchip_dp_drm_encoder_enable() local
179 old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); in rockchip_dp_drm_encoder_enable()
181 if (old_crtc_state && old_crtc_state->self_refresh_active) in rockchip_dp_drm_encoder_enable()
/linux/drivers/gpu/drm/imx/
A Dipuv3-crtc.c63 struct drm_crtc_state *old_crtc_state) in ipu_crtc_disable_planes() argument
69 drm_atomic_crtc_state_for_each_plane(plane, old_crtc_state) { in ipu_crtc_disable_planes()
85 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, in ipu_crtc_atomic_disable() local
97 ipu_crtc_disable_planes(ipu_crtc, old_crtc_state); in ipu_crtc_atomic_disable()
/linux/drivers/gpu/drm/fsl-dcu/
A Dfsl_dcu_drm_crtc.c48 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, in fsl_dcu_drm_crtc_atomic_disable() local
54 drm_atomic_helper_disable_planes_on_crtc(old_crtc_state, true); in fsl_dcu_drm_crtc_atomic_disable()

Completed in 97 milliseconds

123