/Linux-v5.10/drivers/gpu/drm/imx/dcss/ |
D | dcss-crtc.c | 55 struct drm_crtc_state *old_crtc_state) in dcss_crtc_atomic_begin() argument 61 struct drm_crtc_state *old_crtc_state) in dcss_crtc_atomic_flush() argument 80 struct drm_crtc_state *old_crtc_state) in dcss_crtc_atomic_enable() argument 86 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_enable() 98 if (!drm_mode_equal(mode, old_mode) || !old_crtc_state->active) { in dcss_crtc_atomic_enable() 114 struct drm_crtc_state *old_crtc_state) in dcss_crtc_atomic_disable() argument 120 struct drm_display_mode *old_mode = &old_crtc_state->adjusted_mode; in dcss_crtc_atomic_disable() 122 drm_atomic_helper_disable_planes_on_crtc(old_crtc_state, false); in dcss_crtc_atomic_disable()
|
/Linux-v5.10/drivers/gpu/drm/i915/display/ |
D | intel_atomic_plane.c | 190 const struct intel_crtc_state *old_crtc_state; in intel_plane_calc_min_cdclk() local 196 old_crtc_state = intel_atomic_get_old_crtc_state(state, crtc); in intel_plane_calc_min_cdclk() 211 old_crtc_state->min_cdclk[plane->id]) in intel_plane_calc_min_cdclk() 281 int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, in intel_plane_atomic_check_with_state() argument 317 return intel_plane_atomic_calc_changes(old_crtc_state, new_crtc_state, in intel_plane_atomic_check_with_state() 343 const struct intel_crtc_state *old_crtc_state; in intel_plane_atomic_check() local 351 old_crtc_state = intel_atomic_get_old_crtc_state(state, crtc); in intel_plane_atomic_check() 354 return intel_plane_atomic_check_with_state(old_crtc_state, in intel_plane_atomic_check() 426 struct intel_crtc_state *old_crtc_state = in skl_update_planes_on_crtc() local 435 memcpy(entries_y, old_crtc_state->wm.skl.plane_ddb_y, in skl_update_planes_on_crtc() [all …]
|
D | intel_crt.c | 208 const struct intel_crtc_state *old_crtc_state, in intel_disable_crt() argument 211 intel_crt_set_dpms(encoder, old_crtc_state, DRM_MODE_DPMS_OFF); in intel_disable_crt() 216 const struct intel_crtc_state *old_crtc_state, in pch_disable_crt() argument 223 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_crt() argument 226 intel_disable_crt(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_crt() 231 const struct intel_crtc_state *old_crtc_state, in hsw_disable_crt() argument 236 drm_WARN_ON(&dev_priv->drm, !old_crtc_state->has_pch_encoder); in hsw_disable_crt() 243 const struct intel_crtc_state *old_crtc_state, in hsw_post_disable_crt() argument 248 intel_crtc_vblank_off(old_crtc_state); in hsw_post_disable_crt() 250 intel_disable_pipe(old_crtc_state); in hsw_post_disable_crt() [all …]
|
D | intel_dp_mst.c | 342 const struct intel_crtc_state *old_crtc_state, in intel_mst_disable_dp() argument 364 if (old_crtc_state->has_audio) in intel_mst_disable_dp() 366 old_crtc_state, old_conn_state); in intel_mst_disable_dp() 371 const struct intel_crtc_state *old_crtc_state, in intel_mst_post_disable_dp() argument 387 !intel_dp_mst_is_master_trans(old_crtc_state)); in intel_mst_post_disable_dp() 389 intel_crtc_vblank_off(old_crtc_state); in intel_mst_post_disable_dp() 391 intel_disable_pipe(old_crtc_state); in intel_mst_post_disable_dp() 398 TRANS_DDI_FUNC_CTL(old_crtc_state->cpu_transcoder)); in intel_mst_post_disable_dp() 401 TRANS_DDI_FUNC_CTL(old_crtc_state->cpu_transcoder), in intel_mst_post_disable_dp() 408 intel_ddi_disable_transcoder_func(old_crtc_state); in intel_mst_post_disable_dp() [all …]
|
D | intel_atomic_plane.h | 42 int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, 48 int intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_crtc_state,
|
D | intel_dpio_phy.h | 46 const struct intel_crtc_state *old_crtc_state); 56 const struct intel_crtc_state *old_crtc_state);
|
D | intel_display.h | 451 #define for_each_oldnew_intel_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument 455 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \ 460 #define for_each_oldnew_intel_crtc_in_state_reverse(__state, crtc, old_crtc_state, new_crtc_state, … argument 464 (old_crtc_state) = to_intel_crtc_state((__state)->base.crtcs[__i].old_state), \ 505 void intel_disable_pipe(const struct intel_crtc_state *old_crtc_state); 601 void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state); 602 void ilk_pfit_disable(const struct intel_crtc_state *old_crtc_state);
|
D | intel_audio.c | 323 const struct intel_crtc_state *old_crtc_state, in g4x_audio_codec_disable() argument 486 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() 504 if (intel_crtc_has_dp_encoder(old_crtc_state)) in hsw_audio_codec_disable() 692 const struct intel_crtc_state *old_crtc_state, in ilk_audio_codec_disable() argument 696 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in ilk_audio_codec_disable() 727 if (intel_crtc_has_dp_encoder(old_crtc_state)) in ilk_audio_codec_disable() 893 const struct intel_crtc_state *old_crtc_state, in intel_audio_codec_disable() argument 898 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_audio_codec_disable() 904 old_crtc_state, in intel_audio_codec_disable() [all …]
|
D | intel_ddi.c | 3632 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable_dp() argument 3638 bool is_mst = intel_crtc_has_type(old_crtc_state, in intel_ddi_post_disable_dp() 3644 old_crtc_state, old_conn_state); in intel_ddi_post_disable_dp() 3654 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_ddi_post_disable_dp() 3667 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_dp() 3670 intel_disable_ddi_buf(encoder, old_crtc_state); in intel_ddi_post_disable_dp() 3678 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_dp() 3693 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable_hdmi() argument 3701 old_crtc_state, old_conn_state); in intel_ddi_post_disable_hdmi() 3703 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_hdmi() [all …]
|
D | intel_display.c | 1087 intel_wait_for_pipe_off(const struct intel_crtc_state *old_crtc_state) in intel_wait_for_pipe_off() argument 1089 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_wait_for_pipe_off() 1093 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_wait_for_pipe_off() 1904 void intel_disable_pipe(const struct intel_crtc_state *old_crtc_state) in intel_disable_pipe() argument 1906 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_disable_pipe() 1908 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_disable_pipe() 1932 if (old_crtc_state->double_wide) in intel_disable_pipe() 1941 intel_wait_for_pipe_off(old_crtc_state); in intel_disable_pipe() 6269 void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state) in skl_scaler_disable() argument 6271 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in skl_scaler_disable() [all …]
|
D | intel_audio.h | 19 const struct intel_crtc_state *old_crtc_state,
|
D | intel_lvds.c | 330 const struct intel_crtc_state *old_crtc_state, in intel_disable_lvds() argument 349 const struct intel_crtc_state *old_crtc_state, in gmch_disable_lvds() argument 355 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in gmch_disable_lvds() 360 const struct intel_crtc_state *old_crtc_state, in pch_disable_lvds() argument 368 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_lvds() argument 371 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_lvds()
|
D | intel_color.c | 1121 const struct intel_crtc_state *old_crtc_state = in intel_can_preload_luts() local 1124 return !old_crtc_state->hw.gamma_lut && in intel_can_preload_luts() 1125 !old_crtc_state->hw.degamma_lut; in intel_can_preload_luts() 1133 const struct intel_crtc_state *old_crtc_state = in chv_can_preload_luts() local 1141 if (old_crtc_state->cgm_mode || new_crtc_state->cgm_mode) in chv_can_preload_luts() 1144 return !old_crtc_state->hw.gamma_lut; in chv_can_preload_luts() 1152 const struct intel_crtc_state *old_crtc_state = in glk_can_preload_luts() local 1161 return !old_crtc_state->csc_enable && in glk_can_preload_luts() 1162 !old_crtc_state->hw.gamma_lut; in glk_can_preload_luts() 1202 const struct intel_crtc_state *old_crtc_state = in intel_color_add_affected_planes() local [all …]
|
/Linux-v5.10/drivers/gpu/drm/ |
D | drm_atomic_helper.c | 609 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 1027 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs() 1036 if (!crtc_needs_disable(old_crtc_state, new_crtc_state) || in disable_outputs() 1075 for_each_oldnew_crtc_in_state(old_state, crtc, old_crtc_state, new_crtc_state, i) { in disable_outputs() [all …]
|
D | drm_self_refresh_helper.c | 150 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()
|
D | drm_blend.c | 508 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_normalize_zpos() local 523 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_normalize_zpos() 524 if (old_crtc_state->plane_mask != new_crtc_state->plane_mask || in drm_atomic_normalize_zpos()
|
/Linux-v5.10/include/drm/ |
D | drm_modeset_helper_vtables.h | 377 struct drm_crtc_state *old_crtc_state); 401 struct drm_crtc_state *old_crtc_state); 427 struct drm_crtc_state *old_crtc_state); 452 struct drm_crtc_state *old_crtc_state);
|
D | drm_atomic.h | 767 #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument 774 (old_crtc_state) = (__state)->crtcs[__i].old_state, \ 775 (void)(old_crtc_state) /* Only to avoid unused-but-set-variable warning */, \ 789 #define for_each_old_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument 795 (old_crtc_state) = (__state)->crtcs[__i].old_state, 1))
|
D | drm_atomic_helper.h | 96 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.10/drivers/gpu/drm/vc4/ |
D | vc4_kms.c | 524 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_ctm_atomic_check() local 528 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check() 530 if (!new_crtc_state->ctm && old_crtc_state->ctm) { in vc4_ctm_atomic_check() 538 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check() 539 if (new_crtc_state->ctm == old_crtc_state->ctm) in vc4_ctm_atomic_check() 782 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_pv_muxing_atomic_check() local 790 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_pv_muxing_atomic_check() 792 to_vc4_crtc_state(old_crtc_state); in vc4_pv_muxing_atomic_check() 799 if (old_crtc_state->enable == new_crtc_state->enable) in vc4_pv_muxing_atomic_check()
|
/Linux-v5.10/drivers/gpu/drm/vkms/ |
D | vkms_drv.c | 71 struct drm_crtc_state *old_crtc_state; in vkms_atomic_commit_tail() local 86 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in vkms_atomic_commit_tail() 88 to_vkms_crtc_state(old_crtc_state); in vkms_atomic_commit_tail()
|
/Linux-v5.10/drivers/gpu/drm/imx/ |
D | ipuv3-crtc.c | 62 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() 82 struct drm_crtc_state *old_crtc_state) in ipu_crtc_atomic_disable() argument 94 ipu_crtc_disable_planes(ipu_crtc, old_crtc_state); in ipu_crtc_atomic_disable() 239 struct drm_crtc_state *old_crtc_state) in ipu_crtc_atomic_begin() argument 245 struct drm_crtc_state *old_crtc_state) in ipu_crtc_atomic_flush() argument
|
/Linux-v5.10/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_crtc.c | 24 struct drm_crtc_state *old_crtc_state) in fsl_dcu_drm_crtc_atomic_flush() argument 46 struct drm_crtc_state *old_crtc_state) in fsl_dcu_drm_crtc_atomic_disable() argument 52 drm_atomic_helper_disable_planes_on_crtc(old_crtc_state, true); in fsl_dcu_drm_crtc_atomic_disable()
|
/Linux-v5.10/drivers/gpu/drm/rockchip/ |
D | analogix_dp-rockchip.c | 171 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.10/drivers/gpu/drm/exynos/ |
D | exynos_drm_crtc.c | 66 struct drm_crtc_state *old_crtc_state) in exynos_crtc_atomic_begin() argument 75 struct drm_crtc_state *old_crtc_state) in exynos_crtc_atomic_flush() argument
|