Home
last modified time | relevance | path

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

123

/Linux-v5.15/drivers/gpu/drm/i915/display/
Dg4x_hdmi.c296 const struct intel_crtc_state *old_crtc_state, in intel_disable_hdmi() argument
304 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_disable_hdmi()
348 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()
362 intel_disable_hdmi(state, encoder, old_crtc_state, old_conn_state); in g4x_disable_hdmi()
367 const struct intel_crtc_state *old_crtc_state, in pch_disable_hdmi() argument
370 if (old_crtc_state->has_audio) in pch_disable_hdmi()
372 old_crtc_state, old_conn_state); in pch_disable_hdmi()
[all …]
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()
Dintel_dp_mst.c353 const struct intel_crtc_state *old_crtc_state, in intel_mst_pre_disable_dp() argument
356 if (old_crtc_state->has_audio) in intel_mst_pre_disable_dp()
357 intel_audio_codec_disable(encoder, old_crtc_state, in intel_mst_pre_disable_dp()
363 const struct intel_crtc_state *old_crtc_state, in intel_mst_disable_dp() argument
389 const struct intel_crtc_state *old_crtc_state, in intel_mst_post_disable_dp() argument
405 !intel_dp_mst_is_master_trans(old_crtc_state)); in intel_mst_post_disable_dp()
407 intel_crtc_vblank_off(old_crtc_state); in intel_mst_post_disable_dp()
409 intel_disable_pipe(old_crtc_state); in intel_mst_post_disable_dp()
413 clear_act_sent(encoder, old_crtc_state); in intel_mst_post_disable_dp()
416 TRANS_DDI_FUNC_CTL(old_crtc_state->cpu_transcoder)); in intel_mst_post_disable_dp()
[all …]
Dintel_atomic_plane.c213 const struct intel_crtc_state *old_crtc_state; in intel_plane_calc_min_cdclk() local
219 old_crtc_state = intel_atomic_get_old_crtc_state(state, crtc); in intel_plane_calc_min_cdclk()
234 old_crtc_state->min_cdclk[plane->id]) in intel_plane_calc_min_cdclk()
328 int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, in intel_plane_atomic_check_with_state() argument
368 return intel_plane_atomic_calc_changes(old_crtc_state, new_crtc_state, in intel_plane_atomic_check_with_state()
396 const struct intel_crtc_state *old_crtc_state = in intel_plane_atomic_check() local
420 return intel_plane_atomic_check_with_state(old_crtc_state, in intel_plane_atomic_check()
496 struct intel_crtc_state *old_crtc_state = in skl_update_planes_on_crtc() local
505 memcpy(entries_y, old_crtc_state->wm.skl.plane_ddb_y, in skl_update_planes_on_crtc()
506 sizeof(old_crtc_state->wm.skl.plane_ddb_y)); in skl_update_planes_on_crtc()
[all …]
Dg4x_dp.c249 const struct intel_crtc_state *old_crtc_state) in ilk_edp_pll_off() argument
251 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in ilk_edp_pll_off()
254 assert_pipe_disabled(dev_priv, old_crtc_state->cpu_transcoder); in ilk_edp_pll_off()
423 const struct intel_crtc_state *old_crtc_state) in intel_dp_link_down() argument
427 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_dp_link_down()
496 const struct intel_crtc_state *old_crtc_state, in intel_disable_dp() argument
503 if (old_crtc_state->has_audio) in intel_disable_dp()
505 old_crtc_state, old_conn_state); in intel_disable_dp()
519 const struct intel_crtc_state *old_crtc_state, in g4x_disable_dp() argument
522 intel_disable_dp(state, encoder, old_crtc_state, old_conn_state); in g4x_disable_dp()
[all …]
Dintel_crt.c212 const struct intel_crtc_state *old_crtc_state, in intel_disable_crt() argument
215 intel_crt_set_dpms(encoder, old_crtc_state, DRM_MODE_DPMS_OFF); in intel_disable_crt()
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
230 intel_disable_crt(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_crt()
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_pipe(old_crtc_state); in hsw_post_disable_crt()
[all …]
Dintel_display.c448 intel_wait_for_pipe_off(const struct intel_crtc_state *old_crtc_state) in intel_wait_for_pipe_off() argument
450 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_wait_for_pipe_off()
454 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_wait_for_pipe_off()
1006 void intel_disable_pipe(const struct intel_crtc_state *old_crtc_state) in intel_disable_pipe() argument
1008 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_disable_pipe()
1010 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_disable_pipe()
1032 if (old_crtc_state->double_wide) in intel_disable_pipe()
1045 intel_wait_for_pipe_off(old_crtc_state); in intel_disable_pipe()
2759 static bool hsw_pre_update_disable_ips(const struct intel_crtc_state *old_crtc_state, in hsw_pre_update_disable_ips() argument
2765 if (!old_crtc_state->ips_enabled) in hsw_pre_update_disable_ips()
[all …]
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,
Dintel_dpio_phy.h47 const struct intel_crtc_state *old_crtc_state);
58 const struct intel_crtc_state *old_crtc_state);
Dintel_ddi.c2767 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable_dp() argument
2773 bool is_mst = intel_crtc_has_type(old_crtc_state, in intel_ddi_post_disable_dp()
2779 old_crtc_state, old_conn_state); in intel_ddi_post_disable_dp()
2789 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_ddi_post_disable_dp()
2802 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_dp()
2805 intel_disable_ddi_buf(encoder, old_crtc_state); in intel_ddi_post_disable_dp()
2813 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_dp()
2829 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable_hdmi() argument
2837 old_crtc_state, old_conn_state); in intel_ddi_post_disable_hdmi()
2839 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_hdmi()
[all …]
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 …]
Dintel_display.h481 #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
485 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
490 #define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, … argument
494 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \
535 void intel_disable_pipe(const struct intel_crtc_state *old_crtc_state);
618 void ilk_pfit_disable(const struct intel_crtc_state *old_crtc_state);
Dintel_audio.h19 const struct intel_crtc_state *old_crtc_state,
Dskl_scaler.h28 void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state);
Dintel_lvds.c331 const struct intel_crtc_state *old_crtc_state, in intel_disable_lvds() argument
350 const struct intel_crtc_state *old_crtc_state, in gmch_disable_lvds() argument
356 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in gmch_disable_lvds()
361 const struct intel_crtc_state *old_crtc_state, in pch_disable_lvds() argument
369 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_lvds() argument
372 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_lvds()
/Linux-v5.15/drivers/gpu/drm/
Ddrm_atomic_helper.c609 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_check_modeset() local
615 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
621 if (!drm_mode_equal(&old_crtc_state->mode, &new_crtc_state->mode)) { in drm_atomic_helper_check_modeset()
627 if (old_crtc_state->enable != new_crtc_state->enable) { in drm_atomic_helper_check_modeset()
643 if (old_crtc_state->active != new_crtc_state->active) { in drm_atomic_helper_check_modeset()
707 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
1014 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in disable_outputs() local
1029 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs()
1038 if (!crtc_needs_disable(old_crtc_state, new_crtc_state) || in disable_outputs()
1077 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in disable_outputs()
[all …]
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()
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-v5.15/drivers/gpu/drm/imx/dcss/
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-v5.15/drivers/gpu/drm/vc4/
Dvc4_kms.c340 struct drm_crtc_state *old_crtc_state; in vc4_atomic_commit_tail() local
363 for_each_old_crtc_in_state(state, crtc, old_crtc_state, i) { in vc4_atomic_commit_tail()
365 to_vc4_crtc_state(old_crtc_state); in vc4_atomic_commit_tail()
484 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_ctm_atomic_check() local
488 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
490 if (!new_crtc_state->ctm && old_crtc_state->ctm) { in vc4_ctm_atomic_check()
498 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check()
499 if (new_crtc_state->ctm == old_crtc_state->ctm) in vc4_ctm_atomic_check()
759 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_pv_muxing_atomic_check() local
772 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_pv_muxing_atomic_check()
[all …]
/Linux-v5.15/drivers/gpu/drm/vkms/
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-v5.15/include/drm/
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))
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-v5.15/drivers/gpu/drm/rockchip/
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-v5.15/drivers/gpu/drm/imx/
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()

123