Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/gpu/drm/i915/display/
A Dintel_modeset_verify.c158 struct intel_crtc_state *old_crtc_state, in verify_crtc_state() argument
164 struct intel_crtc_state *pipe_config = old_crtc_state; in verify_crtc_state()
165 struct drm_atomic_state *state = old_crtc_state->uapi.state; in verify_crtc_state()
168 __drm_atomic_helper_crtc_destroy_state(&old_crtc_state->uapi); in verify_crtc_state()
169 intel_crtc_free_hw_state(old_crtc_state); in verify_crtc_state()
170 intel_crtc_state_reset(old_crtc_state, crtc); in verify_crtc_state()
171 old_crtc_state->uapi.state = state; in verify_crtc_state()
227 struct intel_crtc_state *old_crtc_state, in intel_modeset_verify_crtc() argument
236 verify_crtc_state(crtc, old_crtc_state, new_crtc_state); in intel_modeset_verify_crtc()
237 intel_shared_dpll_state_verify(crtc, old_crtc_state, new_crtc_state); in intel_modeset_verify_crtc()
A Dhsw_ips.c89 const struct intel_crtc_state *old_crtc_state = in hsw_ips_need_disable() local
94 if (!old_crtc_state->ips_enabled) in hsw_ips_need_disable()
117 const struct intel_crtc_state *old_crtc_state = in hsw_ips_pre_update() local
123 return hsw_ips_disable(old_crtc_state); in hsw_ips_pre_update()
130 const struct intel_crtc_state *old_crtc_state = in hsw_ips_need_enable() local
156 if (intel_crtc_needs_fastset(new_crtc_state) && old_crtc_state->inherited) in hsw_ips_need_enable()
159 return !old_crtc_state->ips_enabled; in hsw_ips_need_enable()
A Dg4x_hdmi.c316 const struct intel_crtc_state *old_crtc_state, in intel_disable_hdmi() argument
368 old_crtc_state, old_conn_state); in intel_disable_hdmi()
375 const struct intel_crtc_state *old_crtc_state, in g4x_disable_hdmi() argument
385 const struct intel_crtc_state *old_crtc_state, in pch_disable_hdmi() argument
393 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_hdmi() argument
460 const struct intel_crtc_state *old_crtc_state, in chv_hdmi_post_pll_disable() argument
463 chv_phy_post_pll_disable(encoder, old_crtc_state); in chv_hdmi_post_pll_disable()
468 const struct intel_crtc_state *old_crtc_state, in vlv_hdmi_post_disable() argument
472 vlv_phy_reset_lanes(encoder, old_crtc_state); in vlv_hdmi_post_disable()
477 const struct intel_crtc_state *old_crtc_state, in chv_hdmi_post_disable() argument
[all …]
A Dintel_vrr.c49 struct intel_crtc_state *old_crtc_state, *new_crtc_state; in intel_vrr_check_modeset() local
52 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state, in intel_vrr_check_modeset()
55 old_crtc_state->uapi.vrr_enabled) in intel_vrr_check_modeset()
221 void intel_vrr_disable(const struct intel_crtc_state *old_crtc_state) in intel_vrr_disable() argument
223 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_vrr_disable()
225 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_vrr_disable()
227 if (!old_crtc_state->vrr.enable) in intel_vrr_disable()
231 trans_vrr_ctl(old_crtc_state)); in intel_vrr_disable()
A Dg4x_dp.c234 const struct intel_crtc_state *old_crtc_state) in ilk_edp_pll_off() argument
407 const struct intel_crtc_state *old_crtc_state) in intel_dp_link_down() argument
498 const struct intel_crtc_state *old_crtc_state, in g4x_disable_dp() argument
514 const struct intel_crtc_state *old_crtc_state, in g4x_post_disable_dp() argument
526 intel_dp_link_down(encoder, old_crtc_state); in g4x_post_disable_dp()
530 ilk_edp_pll_off(intel_dp, old_crtc_state); in g4x_post_disable_dp()
535 const struct intel_crtc_state *old_crtc_state, in vlv_post_disable_dp() argument
538 intel_dp_link_down(encoder, old_crtc_state); in vlv_post_disable_dp()
543 const struct intel_crtc_state *old_crtc_state, in chv_post_disable_dp() argument
548 intel_dp_link_down(encoder, old_crtc_state); in chv_post_disable_dp()
[all …]
A Dintel_crt.c214 const struct intel_crtc_state *old_crtc_state, in intel_disable_crt() argument
222 const struct intel_crtc_state *old_crtc_state, in pch_disable_crt() argument
229 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_crt() argument
237 const struct intel_crtc_state *old_crtc_state, in hsw_disable_crt() argument
242 drm_WARN_ON(&dev_priv->drm, !old_crtc_state->has_pch_encoder); in hsw_disable_crt()
249 const struct intel_crtc_state *old_crtc_state, in hsw_post_disable_crt() argument
255 intel_crtc_vblank_off(old_crtc_state); in hsw_post_disable_crt()
257 intel_disable_transcoder(old_crtc_state); in hsw_post_disable_crt()
259 intel_ddi_disable_transcoder_func(old_crtc_state); in hsw_post_disable_crt()
261 ilk_pfit_disable(old_crtc_state); in hsw_post_disable_crt()
[all …]
A Dintel_atomic_plane.c256 const struct intel_crtc_state *old_crtc_state; in intel_plane_calc_min_cdclk() local
277 old_crtc_state->min_cdclk[plane->id]) in intel_plane_calc_min_cdclk()
408 const struct intel_crtc_state *old_crtc_state, in intel_plane_do_async_flip() argument
479 bool was_crtc_enabled = old_crtc_state->hw.active; in intel_plane_atomic_calc_changes()
682 const struct intel_crtc_state *old_crtc_state = in intel_plane_atomic_check() local
707 return intel_plane_atomic_check_with_state(old_crtc_state, in intel_plane_atomic_check()
822 struct intel_crtc_state *old_crtc_state = in skl_crtc_planes_update_arm() local
831 memcpy(ddb, old_crtc_state->wm.skl.plane_ddb, in skl_crtc_planes_update_arm()
832 sizeof(old_crtc_state->wm.skl.plane_ddb)); in skl_crtc_planes_update_arm()
833 memcpy(ddb_y, old_crtc_state->wm.skl.plane_ddb_y, in skl_crtc_planes_update_arm()
[all …]
A Dintel_display.c581 if (old_crtc_state->double_wide) in intel_disable_transcoder()
1201 if (needs_nv12_wa(old_crtc_state) && in intel_post_plane_update()
1338 if (old_crtc_state->hw.active && in intel_pre_plane_update()
1988 ilk_pfit_disable(old_crtc_state); in ilk_crtc_disable()
1990 if (old_crtc_state->has_pch_encoder) in ilk_crtc_disable()
2351 i9xx_pfit_disable(old_crtc_state); in i9xx_crtc_disable()
2361 i9xx_disable_pll(old_crtc_state); in i9xx_crtc_disable()
7117 old_crtc_state->inherited) in intel_update_crtc()
7155 if (!old_crtc_state->hw.active) in intel_commit_modeset_disables()
7168 if (!old_crtc_state->hw.active) in intel_commit_modeset_disables()
[all …]
A Dintel_drrs.c176 void intel_drrs_deactivate(const struct intel_crtc_state *old_crtc_state) in intel_drrs_deactivate() argument
178 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_drrs_deactivate()
180 if (!old_crtc_state->has_drrs) in intel_drrs_deactivate()
183 if (!old_crtc_state->hw.active) in intel_drrs_deactivate()
186 if (intel_crtc_is_bigjoiner_slave(old_crtc_state)) in intel_drrs_deactivate()
A Dintel_dp_mst.c519 const struct intel_crtc_state *old_crtc_state, in intel_mst_disable_dp() argument
567 intel_crtc_vblank_off(old_crtc_state); in intel_mst_post_disable_dp()
569 intel_disable_transcoder(old_crtc_state); in intel_mst_post_disable_dp()
571 clear_act_sent(encoder, old_crtc_state); in intel_mst_post_disable_dp()
576 wait_for_act_sent(encoder, old_crtc_state); in intel_mst_post_disable_dp()
578 intel_ddi_disable_transcoder_func(old_crtc_state); in intel_mst_post_disable_dp()
581 skl_scaler_disable(old_crtc_state); in intel_mst_post_disable_dp()
583 ilk_pfit_disable(old_crtc_state); in intel_mst_post_disable_dp()
598 old_crtc_state, NULL); in intel_mst_post_disable_dp()
607 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_mst_post_disable_dp()
[all …]
A Dintel_display.h330 #define for_each_old_intel_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
334 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), 1); \
363 #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
367 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
372 #define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, … argument
376 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
427 void intel_disable_transcoder(const struct intel_crtc_state *old_crtc_state);
508 void ilk_pfit_disable(const struct intel_crtc_state *old_crtc_state);
A Dintel_audio.c72 const struct intel_crtc_state *old_crtc_state,
341 const struct intel_crtc_state *old_crtc_state, in g4x_audio_codec_disable() argument
485 const struct intel_crtc_state *old_crtc_state, in hsw_audio_codec_disable() argument
490 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in hsw_audio_codec_disable()
500 (intel_crtc_has_dp_encoder(old_crtc_state) ? in hsw_audio_codec_disable()
688 const struct intel_crtc_state *old_crtc_state, in ibx_audio_codec_disable() argument
710 (intel_crtc_has_dp_encoder(old_crtc_state) ? in ibx_audio_codec_disable()
867 const struct intel_crtc_state *old_crtc_state, in intel_audio_codec_disable() argument
878 if (!old_crtc_state->has_audio) in intel_audio_codec_disable()
888 old_crtc_state, in intel_audio_codec_disable()
[all …]
A Dintel_dpio_phy.h61 const struct intel_crtc_state *old_crtc_state);
72 const struct intel_crtc_state *old_crtc_state);
A Dintel_ddi.c2652 old_crtc_state, old_conn_state); in intel_ddi_post_disable_dp()
2686 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_dp()
2709 old_crtc_state, old_conn_state); in intel_ddi_post_disable_hdmi()
2712 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_hdmi()
2740 intel_crtc_vblank_off(old_crtc_state); in intel_ddi_post_disable()
2742 intel_vrr_disable(old_crtc_state); in intel_ddi_post_disable()
2744 intel_disable_transcoder(old_crtc_state); in intel_ddi_post_disable()
2748 intel_dsc_disable(old_crtc_state); in intel_ddi_post_disable()
2751 skl_scaler_disable(old_crtc_state); in intel_ddi_post_disable()
2753 ilk_pfit_disable(old_crtc_state); in intel_ddi_post_disable()
[all …]
A Dintel_modeset_verify.h16 struct intel_crtc_state *old_crtc_state,
/linux-6.3-rc2/drivers/gpu/drm/
A Ddrm_atomic_helper.c1445 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_modeset_enables() local
2338 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_wait_for_dependencies() local
2445 if (old_crtc_state->commit) in drm_atomic_helper_commit_hw_done()
2476 struct drm_crtc_state *old_crtc_state; in drm_atomic_helper_commit_cleanup_done() local
2481 commit = old_crtc_state->commit; in drm_atomic_helper_commit_cleanup_done()
2745 struct drm_crtc *crtc = old_crtc_state->crtc; in drm_atomic_helper_commit_planes_on_crtc()
2752 plane_mask = old_crtc_state->plane_mask; in drm_atomic_helper_commit_planes_on_crtc()
2939 commit = old_crtc_state->commit; in drm_atomic_helper_swap_state()
2983 WARN_ON(crtc->state != old_crtc_state); in drm_atomic_helper_swap_state()
2985 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-6.3-rc2/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-6.3-rc2/drivers/gpu/drm/vc4/
A Dvc4_kms.c516 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_ctm_atomic_check() local
522 if (!new_crtc_state->ctm && old_crtc_state->ctm) { in vc4_ctm_atomic_check()
531 if (new_crtc_state->ctm == old_crtc_state->ctm) in vc4_ctm_atomic_check()
856 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_pv_muxing_atomic_check() local
867 if (!old_crtc_state) in vc4_pv_muxing_atomic_check()
869 old_vc4_crtc_state = to_vc4_crtc_state(old_crtc_state); in vc4_pv_muxing_atomic_check()
879 if (old_crtc_state->enable == new_crtc_state->enable) { in vc4_pv_muxing_atomic_check()
933 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_core_clock_atomic_check() local
952 old_crtc_state, in vc4_core_clock_atomic_check()
955 if (old_crtc_state->active) { in vc4_core_clock_atomic_check()
[all …]
/linux-6.3-rc2/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-6.3-rc2/include/drm/
A Ddrm_atomic.h820 #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
827 (old_crtc_state) = (__state)->crtcs[__i].old_state, \
828 (void)(old_crtc_state) /* Only to avoid unused-but-set-variable warning */, \
843 #define for_each_old_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
850 (old_crtc_state) = (__state)->crtcs[__i].old_state, 1))
/linux-6.3-rc2/drivers/gpu/drm/rockchip/
A Danalogix_dp-rockchip.c181 struct drm_crtc_state *old_crtc_state; in rockchip_dp_drm_encoder_enable() local
189 old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); in rockchip_dp_drm_encoder_enable()
191 if (old_crtc_state && old_crtc_state->self_refresh_active) in rockchip_dp_drm_encoder_enable()
/linux-6.3-rc2/drivers/gpu/drm/bridge/analogix/
A Danalogix_dp_core.c1315 struct drm_crtc_state *old_crtc_state; in analogix_dp_bridge_atomic_pre_enable() local
1322 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, crtc); in analogix_dp_bridge_atomic_pre_enable()
1324 if (old_crtc_state && old_crtc_state->self_refresh_active) in analogix_dp_bridge_atomic_pre_enable()
1394 struct drm_crtc_state *old_crtc_state; in analogix_dp_bridge_atomic_enable() local
1402 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, crtc); in analogix_dp_bridge_atomic_enable()
1404 if (old_crtc_state && old_crtc_state->self_refresh_active) { in analogix_dp_bridge_atomic_enable()
1470 struct drm_crtc_state *old_crtc_state = NULL; in analogix_dp_bridge_atomic_disable() local
1489 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, in analogix_dp_bridge_atomic_disable()
1493 if (old_crtc_state && old_crtc_state->self_refresh_active) { in analogix_dp_bridge_atomic_disable()
/linux-6.3-rc2/drivers/gpu/drm/imx/ipuv3/
A Dipuv3-crtc.c62 struct drm_crtc_state *old_crtc_state) in ipu_crtc_disable_planes() argument
68 drm_atomic_crtc_state_for_each_plane(plane, old_crtc_state) { in ipu_crtc_disable_planes()
84 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, in ipu_crtc_atomic_disable() local
96 ipu_crtc_disable_planes(ipu_crtc, old_crtc_state); in ipu_crtc_atomic_disable()

Completed in 101 milliseconds

123