Home
last modified time | relevance | path

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

1234

/linux/drivers/gpu/drm/msm/dp/
A Ddp_drm.c144 struct drm_crtc_state *old_crtc_state; in edp_bridge_atomic_enable() local
159 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc); in edp_bridge_atomic_enable()
161 if (old_crtc_state && old_crtc_state->self_refresh_active) { in edp_bridge_atomic_enable()
174 struct drm_crtc_state *new_crtc_state = NULL, *old_crtc_state = NULL; in edp_bridge_atomic_disable() local
187 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc); in edp_bridge_atomic_disable()
188 if (!old_crtc_state) in edp_bridge_atomic_disable()
205 } else if (old_crtc_state->self_refresh_active) { in edp_bridge_atomic_disable()
/linux/drivers/gpu/drm/i915/display/
A Dg4x_hdmi.c255 const struct intel_crtc_state *old_crtc_state, in g4x_hdmi_audio_disable() argument
261 if (!old_crtc_state->has_audio) in g4x_hdmi_audio_disable()
383 const struct intel_crtc_state *old_crtc_state, in intel_disable_hdmi() argument
435 old_crtc_state, old_conn_state); in intel_disable_hdmi()
442 const struct intel_crtc_state *old_crtc_state, in g4x_disable_hdmi() argument
450 const struct intel_crtc_state *old_crtc_state, in pch_disable_hdmi() argument
457 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_hdmi() argument
527 chv_phy_post_pll_disable(encoder, old_crtc_state); in chv_hdmi_post_pll_disable()
532 const struct intel_crtc_state *old_crtc_state, in vlv_hdmi_post_disable() argument
536 vlv_phy_reset_lanes(encoder, old_crtc_state); in vlv_hdmi_post_disable()
[all …]
A Dintel_display.c513 if (old_crtc_state->double_wide) in intel_disable_transcoder()
980 ((old_crtc_state)->feature && \
995 if (!old_crtc_state->hw.active) in planes_disabling()
1043 if (!old_crtc_state->hw.active) in intel_crtc_vrr_disabling()
1047 (old_crtc_state->vrr.enable && in intel_crtc_vrr_disabling()
1066 if (!old_crtc_state->hw.active) in audio_disabling()
1070 (old_crtc_state->has_audio && in audio_disabling()
1252 if (old_crtc_state->hw.active && in intel_pre_plane_update()
1825 ilk_pfit_disable(old_crtc_state); in ilk_crtc_disable()
6898 if (old_crtc_state->inherited || in intel_pre_update_crtc()
[all …]
A Dhsw_ips.c96 const struct intel_crtc_state *old_crtc_state = in hsw_ips_need_disable() local
101 if (!old_crtc_state->ips_enabled) in hsw_ips_need_disable()
124 const struct intel_crtc_state *old_crtc_state = in hsw_ips_pre_update() local
130 return hsw_ips_disable(old_crtc_state); in hsw_ips_pre_update()
137 const struct intel_crtc_state *old_crtc_state = in hsw_ips_need_enable() local
163 if (intel_crtc_needs_fastset(new_crtc_state) && old_crtc_state->inherited) in hsw_ips_need_enable()
166 return !old_crtc_state->ips_enabled; in hsw_ips_need_enable()
A Dg4x_dp.c236 const struct intel_crtc_state *old_crtc_state) in ilk_edp_pll_off() argument
419 const struct intel_crtc_state *old_crtc_state) in intel_dp_link_down() argument
506 const struct intel_crtc_state *old_crtc_state, in g4x_dp_audio_disable() argument
512 if (!old_crtc_state->has_audio) in g4x_dp_audio_disable()
559 const struct intel_crtc_state *old_crtc_state, in g4x_post_disable_dp() argument
571 intel_dp_link_down(encoder, old_crtc_state); in g4x_post_disable_dp()
575 ilk_edp_pll_off(intel_dp, old_crtc_state); in g4x_post_disable_dp()
580 const struct intel_crtc_state *old_crtc_state, in vlv_post_disable_dp() argument
583 intel_dp_link_down(encoder, old_crtc_state); in vlv_post_disable_dp()
588 const struct intel_crtc_state *old_crtc_state, in chv_post_disable_dp() argument
[all …]
A Dintel_vrr.c63 struct intel_crtc_state *old_crtc_state, *new_crtc_state; in intel_vrr_check_modeset() local
66 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state, in intel_vrr_check_modeset()
69 old_crtc_state->uapi.vrr_enabled) in intel_vrr_check_modeset()
361 void intel_vrr_disable(const struct intel_crtc_state *old_crtc_state) in intel_vrr_disable() argument
363 struct intel_display *display = to_intel_display(old_crtc_state); in intel_vrr_disable()
364 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_vrr_disable()
366 if (!old_crtc_state->vrr.enable) in intel_vrr_disable()
370 trans_vrr_ctl(old_crtc_state)); in intel_vrr_disable()
A Dintel_crt.c218 const struct intel_crtc_state *old_crtc_state, in intel_disable_crt() argument
226 const struct intel_crtc_state *old_crtc_state, in pch_disable_crt() argument
233 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_crt() argument
241 const struct intel_crtc_state *old_crtc_state, in hsw_disable_crt() argument
246 drm_WARN_ON(&dev_priv->drm, !old_crtc_state->has_pch_encoder); in hsw_disable_crt()
253 const struct intel_crtc_state *old_crtc_state, in hsw_post_disable_crt() argument
259 intel_crtc_vblank_off(old_crtc_state); in hsw_post_disable_crt()
261 intel_disable_transcoder(old_crtc_state); in hsw_post_disable_crt()
263 intel_ddi_disable_transcoder_func(old_crtc_state); in hsw_post_disable_crt()
265 ilk_pfit_disable(old_crtc_state); in hsw_post_disable_crt()
[all …]
A Dintel_dpio_phy.h63 const struct intel_crtc_state *old_crtc_state);
74 const struct intel_crtc_state *old_crtc_state);
151 const struct intel_crtc_state *old_crtc_state) in chv_phy_post_pll_disable() argument
170 const struct intel_crtc_state *old_crtc_state) in vlv_phy_reset_lanes() argument
A Dintel_atomic_plane.c274 const struct intel_crtc_state *old_crtc_state; in intel_plane_calc_min_cdclk() local
295 old_crtc_state->min_cdclk[plane->id]) in intel_plane_calc_min_cdclk()
427 const struct intel_crtc_state *old_crtc_state, in intel_plane_do_async_flip() argument
504 bool was_crtc_enabled = old_crtc_state->hw.active; in intel_plane_atomic_calc_changes()
720 const struct intel_crtc_state *old_crtc_state = in intel_plane_atomic_check() local
745 return intel_plane_atomic_check_with_state(old_crtc_state, in intel_plane_atomic_check()
872 struct intel_crtc_state *old_crtc_state = in skl_crtc_planes_update_arm() local
881 memcpy(ddb, old_crtc_state->wm.skl.plane_ddb, in skl_crtc_planes_update_arm()
882 sizeof(old_crtc_state->wm.skl.plane_ddb)); in skl_crtc_planes_update_arm()
883 memcpy(ddb_y, old_crtc_state->wm.skl.plane_ddb_y, in skl_crtc_planes_update_arm()
[all …]
A Dintel_audio.c74 const struct intel_crtc_state *old_crtc_state,
285 const struct intel_crtc_state *old_crtc_state, in g4x_audio_codec_disable() argument
399 const struct intel_crtc_state *old_crtc_state, in hsw_audio_codec_disable() argument
404 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in hsw_audio_codec_disable()
414 (intel_crtc_has_dp_encoder(old_crtc_state) ? in hsw_audio_codec_disable()
607 const struct intel_crtc_state *old_crtc_state, in ibx_audio_codec_disable() argument
629 (intel_crtc_has_dp_encoder(old_crtc_state) ? in ibx_audio_codec_disable()
786 const struct intel_crtc_state *old_crtc_state, in intel_audio_codec_disable() argument
797 if (!old_crtc_state->has_audio) in intel_audio_codec_disable()
807 old_crtc_state, in intel_audio_codec_disable()
[all …]
A Dintel_drrs.c182 void intel_drrs_deactivate(const struct intel_crtc_state *old_crtc_state) in intel_drrs_deactivate() argument
184 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_drrs_deactivate()
186 if (!old_crtc_state->has_drrs) in intel_drrs_deactivate()
189 if (!old_crtc_state->hw.active) in intel_drrs_deactivate()
192 if (intel_crtc_is_joiner_secondary(old_crtc_state)) in intel_drrs_deactivate()
A Dintel_dp_mst.c982 const struct intel_crtc_state *old_crtc_state, in intel_mst_disable_dp() argument
1032 intel_crtc_joined_pipe_mask(old_crtc_state)) { in intel_mst_post_disable_dp()
1039 intel_disable_transcoder(old_crtc_state); in intel_mst_post_disable_dp()
1043 clear_act_sent(encoder, old_crtc_state); in intel_mst_post_disable_dp()
1049 wait_for_act_sent(encoder, old_crtc_state); in intel_mst_post_disable_dp()
1054 intel_ddi_disable_transcoder_func(old_crtc_state); in intel_mst_post_disable_dp()
1057 intel_crtc_joined_pipe_mask(old_crtc_state)) { in intel_mst_post_disable_dp()
1081 old_crtc_state, NULL); in intel_mst_post_disable_dp()
1096 old_crtc_state, NULL); in intel_mst_post_disable_dp()
2023 const struct intel_crtc_state *old_crtc_state; in intel_dp_mst_crtc_needs_modeset() local
[all …]
A Dintel_display.h329 #define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
333 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), 1); \
370 #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
374 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
379 #define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, … argument
383 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
439 void intel_disable_transcoder(const struct intel_crtc_state *old_crtc_state);
516 void ilk_pfit_disable(const struct intel_crtc_state *old_crtc_state);
A Dintel_dp_tunnel.c404 const struct intel_crtc_state *old_crtc_state; in check_inherited_tunnel_state() local
421 old_crtc_state = intel_atomic_get_old_crtc_state(state, old_crtc); in check_inherited_tunnel_state()
423 if (!old_crtc_state->hw.active || in check_inherited_tunnel_state()
424 old_crtc_state->dp_tunnel_ref.tunnel == intel_dp->tunnel) in check_inherited_tunnel_state()
678 const struct intel_crtc_state *old_crtc_state; in atomic_decrease_bw() local
682 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in atomic_decrease_bw()
693 tunnel = old_crtc_state->dp_tunnel_ref.tunnel; in atomic_decrease_bw()
/linux/drivers/gpu/drm/
A Ddrm_atomic_helper.c1466 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_modeset_enables() local
2401 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_wait_for_dependencies() local
2508 if (old_crtc_state->commit) in drm_atomic_helper_commit_hw_done()
2539 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_cleanup_done() local
2544 commit = old_crtc_state->commit; in drm_atomic_helper_commit_cleanup_done()
2857 struct drm_crtc *crtc = old_crtc_state->crtc; in drm_atomic_helper_commit_planes_on_crtc()
2864 plane_mask = old_crtc_state->plane_mask; in drm_atomic_helper_commit_planes_on_crtc()
3040 commit = old_crtc_state->commit; in drm_atomic_helper_swap_state()
3084 WARN_ON(crtc->state != old_crtc_state); in drm_atomic_helper_swap_state()
3086 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.c514 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_normalize_zpos() local
529 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_normalize_zpos()
530 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/bridge/
A Dpanel.c118 struct drm_crtc_state *old_crtc_state; in panel_bridge_atomic_pre_enable() local
124 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc); in panel_bridge_atomic_pre_enable()
125 if (old_crtc_state && old_crtc_state->self_refresh_active) in panel_bridge_atomic_pre_enable()
138 struct drm_crtc_state *old_crtc_state; in panel_bridge_atomic_enable() local
144 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc); in panel_bridge_atomic_enable()
145 if (old_crtc_state && old_crtc_state->self_refresh_active) in panel_bridge_atomic_enable()
/linux/drivers/gpu/drm/vc4/
A Dvc4_kms.c510 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_ctm_atomic_check() local
516 if (!new_crtc_state->ctm && old_crtc_state->ctm) { in vc4_ctm_atomic_check()
525 if (new_crtc_state->ctm == old_crtc_state->ctm) in vc4_ctm_atomic_check()
850 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_pv_muxing_atomic_check() local
861 if (!old_crtc_state) in vc4_pv_muxing_atomic_check()
863 old_vc4_crtc_state = to_vc4_crtc_state(old_crtc_state); in vc4_pv_muxing_atomic_check()
873 if (old_crtc_state->enable == new_crtc_state->enable) { in vc4_pv_muxing_atomic_check()
927 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_core_clock_atomic_check() local
946 old_crtc_state, in vc4_core_clock_atomic_check()
949 if (old_crtc_state->active) { in vc4_core_clock_atomic_check()
[all …]
/linux/drivers/gpu/drm/msm/
A Dmsm_atomic.c186 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in msm_atomic_check() local
190 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, in msm_atomic_check()
192 if ((old_crtc_state->ctm && !new_crtc_state->ctm) || in msm_atomic_check()
193 (!old_crtc_state->ctm && new_crtc_state->ctm)) { in msm_atomic_check()
/linux/drivers/gpu/drm/vkms/
A Dvkms_drv.c68 struct drm_crtc_state *old_crtc_state; in vkms_atomic_commit_tail() local
83 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in vkms_atomic_commit_tail()
85 to_vkms_crtc_state(old_crtc_state); in vkms_atomic_commit_tail()
/linux/drivers/gpu/drm/bridge/analogix/
A Danalogix_dp_core.c1207 struct drm_crtc_state *old_crtc_state; in analogix_dp_bridge_atomic_pre_enable() local
1214 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, crtc); in analogix_dp_bridge_atomic_pre_enable()
1216 if (old_crtc_state && old_crtc_state->self_refresh_active) in analogix_dp_bridge_atomic_pre_enable()
1267 struct drm_crtc_state *old_crtc_state; in analogix_dp_bridge_atomic_enable() local
1275 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, crtc); in analogix_dp_bridge_atomic_enable()
1277 if (old_crtc_state && old_crtc_state->self_refresh_active) { in analogix_dp_bridge_atomic_enable()
1337 struct drm_crtc_state *old_crtc_state = NULL; in analogix_dp_bridge_atomic_disable() local
1356 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, in analogix_dp_bridge_atomic_disable()
1360 if (old_crtc_state && old_crtc_state->self_refresh_active) { in analogix_dp_bridge_atomic_disable()
/linux/include/drm/
A Ddrm_atomic.h875 #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
882 (old_crtc_state) = (__state)->crtcs[__i].old_state, \
883 (void)(old_crtc_state) /* Only to avoid unused-but-set-variable warning */, \
898 #define for_each_old_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
905 (old_crtc_state) = (__state)->crtcs[__i].old_state, 1))
/linux/drivers/gpu/drm/rockchip/
A Danalogix_dp-rockchip.c182 struct drm_crtc_state *old_crtc_state; in rockchip_dp_drm_encoder_enable() local
190 old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); in rockchip_dp_drm_encoder_enable()
192 if (old_crtc_state && old_crtc_state->self_refresh_active) in rockchip_dp_drm_encoder_enable()

Completed in 75 milliseconds

1234