| /Linux-v5.4/drivers/gpu/drm/i915/display/ |
| D | intel_atomic_plane.c | 141 int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, in intel_plane_atomic_check_with_state() argument 180 return intel_plane_atomic_calc_changes(old_crtc_state, new_crtc_state, in intel_plane_atomic_check_with_state() 209 const struct intel_crtc_state *old_crtc_state; in intel_plane_atomic_check() local 216 old_crtc_state = intel_atomic_get_old_crtc_state(state, crtc); in intel_plane_atomic_check() 219 return intel_plane_atomic_check_with_state(old_crtc_state, in intel_plane_atomic_check() 301 struct intel_crtc_state *old_crtc_state = in skl_update_planes_on_crtc() local 310 memcpy(entries_y, old_crtc_state->wm.skl.plane_ddb_y, in skl_update_planes_on_crtc() 311 sizeof(old_crtc_state->wm.skl.plane_ddb_y)); in skl_update_planes_on_crtc() 312 memcpy(entries_uv, old_crtc_state->wm.skl.plane_ddb_uv, in skl_update_planes_on_crtc() 313 sizeof(old_crtc_state->wm.skl.plane_ddb_uv)); in skl_update_planes_on_crtc()
|
| 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() 215 const struct intel_crtc_state *old_crtc_state, in pch_disable_crt() argument 221 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_crt() argument 224 intel_disable_crt(encoder, old_crtc_state, old_conn_state); in pch_post_disable_crt() 228 const struct intel_crtc_state *old_crtc_state, in hsw_disable_crt() argument 233 WARN_ON(!old_crtc_state->has_pch_encoder); in hsw_disable_crt() 239 const struct intel_crtc_state *old_crtc_state, in hsw_post_disable_crt() argument 244 intel_ddi_disable_pipe_clock(old_crtc_state); in hsw_post_disable_crt() 246 pch_post_disable_crt(encoder, old_crtc_state, old_conn_state); in hsw_post_disable_crt() [all …]
|
| D | intel_atomic_plane.h | 40 int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_state, 44 int intel_plane_atomic_calc_changes(const struct intel_crtc_state *old_crtc_state,
|
| D | intel_dp_mst.c | 202 const struct intel_crtc_state *old_crtc_state, in intel_mst_disable_dp() argument 220 if (old_crtc_state->has_audio) in intel_mst_disable_dp() 222 old_crtc_state, old_conn_state); in intel_mst_disable_dp() 226 const struct intel_crtc_state *old_crtc_state, in intel_mst_post_disable_dp() argument 235 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_mst_post_disable_dp() 257 old_crtc_state, NULL); in intel_mst_post_disable_dp() 277 const struct intel_crtc_state *old_crtc_state, in intel_mst_post_pll_disable_dp() argument 286 old_crtc_state, in intel_mst_post_pll_disable_dp()
|
| 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_audio.c | 311 const struct intel_crtc_state *old_crtc_state, in g4x_audio_codec_disable() argument 471 const struct intel_crtc_state *old_crtc_state, in hsw_audio_codec_disable() argument 475 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in hsw_audio_codec_disable() 489 if (intel_crtc_has_dp_encoder(old_crtc_state)) in hsw_audio_codec_disable() 553 const struct intel_crtc_state *old_crtc_state, in ilk_audio_codec_disable() argument 557 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in ilk_audio_codec_disable() 586 if (intel_crtc_has_dp_encoder(old_crtc_state)) in ilk_audio_codec_disable() 748 const struct intel_crtc_state *old_crtc_state, in intel_audio_codec_disable() argument 753 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in intel_audio_codec_disable() 759 old_crtc_state, in intel_audio_codec_disable() [all …]
|
| D | intel_bw.c | 342 struct intel_crtc_state *new_crtc_state, *old_crtc_state; in intel_bw_atomic_check() local 353 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state, in intel_bw_atomic_check() 356 intel_bw_crtc_data_rate(old_crtc_state); in intel_bw_atomic_check() 360 intel_bw_crtc_num_active_planes(old_crtc_state); in intel_bw_atomic_check()
|
| D | intel_display.c | 143 static void ironlake_pfit_disable(const struct intel_crtc_state *old_crtc_state); 1070 intel_wait_for_pipe_off(const struct intel_crtc_state *old_crtc_state) in intel_wait_for_pipe_off() argument 1072 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in intel_wait_for_pipe_off() 1076 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_wait_for_pipe_off() 1851 static void intel_disable_pipe(const struct intel_crtc_state *old_crtc_state) in intel_disable_pipe() argument 1853 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in intel_disable_pipe() 1855 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_disable_pipe() 1879 if (old_crtc_state->double_wide) in intel_disable_pipe() 1888 intel_wait_for_pipe_off(old_crtc_state); in intel_disable_pipe() 4397 static void intel_update_pipe_config(const struct intel_crtc_state *old_crtc_state, in intel_update_pipe_config() argument [all …]
|
| D | intel_color.c | 998 const struct intel_crtc_state *old_crtc_state = in intel_can_preload_luts() local 1001 return !old_crtc_state->base.gamma_lut && in intel_can_preload_luts() 1002 !old_crtc_state->base.degamma_lut; in intel_can_preload_luts() 1010 const struct intel_crtc_state *old_crtc_state = in chv_can_preload_luts() local 1018 if (old_crtc_state->cgm_mode || new_crtc_state->cgm_mode) in chv_can_preload_luts() 1021 return !old_crtc_state->base.gamma_lut; in chv_can_preload_luts() 1029 const struct intel_crtc_state *old_crtc_state = in glk_can_preload_luts() local 1038 return !old_crtc_state->csc_enable && in glk_can_preload_luts() 1039 !old_crtc_state->base.gamma_lut; in glk_can_preload_luts() 1079 const struct intel_crtc_state *old_crtc_state = in intel_color_add_affected_planes() local [all …]
|
| D | intel_ddi.c | 3346 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable_dp() argument 3352 bool is_mst = intel_crtc_has_type(old_crtc_state, in intel_ddi_post_disable_dp() 3357 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_dp() 3365 intel_disable_ddi_buf(encoder, old_crtc_state); in intel_ddi_post_disable_dp() 3379 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable_hdmi() argument 3387 old_crtc_state, old_conn_state); in intel_ddi_post_disable_hdmi() 3389 intel_ddi_disable_pipe_clock(old_crtc_state); in intel_ddi_post_disable_hdmi() 3391 intel_disable_ddi_buf(encoder, old_crtc_state); in intel_ddi_post_disable_hdmi() 3402 const struct intel_crtc_state *old_crtc_state, in intel_ddi_post_disable() argument 3420 if (intel_crtc_has_type(old_crtc_state, INTEL_OUTPUT_HDMI)) in intel_ddi_post_disable() [all …]
|
| D | intel_audio.h | 19 const struct intel_crtc_state *old_crtc_state,
|
| D | intel_lvds.c | 328 const struct intel_crtc_state *old_crtc_state, in intel_disable_lvds() argument 343 const struct intel_crtc_state *old_crtc_state, in gmch_disable_lvds() argument 349 intel_disable_lvds(encoder, old_crtc_state, old_conn_state); in gmch_disable_lvds() 353 const struct intel_crtc_state *old_crtc_state, in pch_disable_lvds() argument 360 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_lvds() argument 363 intel_disable_lvds(encoder, old_crtc_state, old_conn_state); in pch_post_disable_lvds()
|
| D | intel_hdmi.c | 1989 const struct intel_crtc_state *old_crtc_state, in intel_disable_hdmi() argument 1997 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in intel_disable_hdmi() 2041 old_crtc_state, old_conn_state); in intel_disable_hdmi() 2047 const struct intel_crtc_state *old_crtc_state, in g4x_disable_hdmi() argument 2050 if (old_crtc_state->has_audio) in g4x_disable_hdmi() 2052 old_crtc_state, old_conn_state); in g4x_disable_hdmi() 2054 intel_disable_hdmi(encoder, old_crtc_state, old_conn_state); in g4x_disable_hdmi() 2058 const struct intel_crtc_state *old_crtc_state, in pch_disable_hdmi() argument 2061 if (old_crtc_state->has_audio) in pch_disable_hdmi() 2063 old_crtc_state, old_conn_state); in pch_disable_hdmi() [all …]
|
| D | intel_vdsc.c | 939 void intel_dsc_disable(const struct intel_crtc_state *old_crtc_state) in intel_dsc_disable() argument 941 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc); in intel_dsc_disable() 947 if (!old_crtc_state->dsc_params.compression_enable) in intel_dsc_disable() 950 if (old_crtc_state->cpu_transcoder == TRANSCODER_EDP) { in intel_dsc_disable() 971 intel_dsc_power_domain(old_crtc_state)); in intel_dsc_disable()
|
| /Linux-v5.4/drivers/gpu/drm/ |
| D | drm_atomic_helper.c | 611 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_check_modeset() local 617 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset() 623 if (!drm_mode_equal(&old_crtc_state->mode, &new_crtc_state->mode)) { in drm_atomic_helper_check_modeset() 629 if (old_crtc_state->enable != new_crtc_state->enable) { in drm_atomic_helper_check_modeset() 645 if (old_crtc_state->active != new_crtc_state->active) { in drm_atomic_helper_check_modeset() 704 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset() 991 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in disable_outputs() local 1003 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs() 1012 if (!crtc_needs_disable(old_crtc_state, new_crtc_state) || in disable_outputs() 1050 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 | 495 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_normalize_zpos() local 510 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_normalize_zpos() 511 if (old_crtc_state->plane_mask != new_crtc_state->plane_mask || in drm_atomic_normalize_zpos()
|
| /Linux-v5.4/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 | 751 #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument 757 (old_crtc_state) = (__state)->crtcs[__i].old_state, \ 771 #define for_each_old_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument 777 (old_crtc_state) = (__state)->crtcs[__i].old_state, 1))
|
| D | drm_atomic_helper.h | 93 void drm_atomic_helper_commit_planes_on_crtc(struct drm_crtc_state *old_crtc_state); 95 drm_atomic_helper_disable_planes_on_crtc(struct drm_crtc_state *old_crtc_state,
|
| /Linux-v5.4/drivers/gpu/drm/vkms/ |
| D | vkms_drv.c | 73 struct drm_crtc_state *old_crtc_state; in vkms_atomic_commit_tail() local 88 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in vkms_atomic_commit_tail() 90 to_vkms_crtc_state(old_crtc_state); in vkms_atomic_commit_tail()
|
| /Linux-v5.4/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() 244 struct drm_crtc_state *old_crtc_state) in ipu_crtc_atomic_begin() argument 250 struct drm_crtc_state *old_crtc_state) in ipu_crtc_atomic_flush() argument
|
| /Linux-v5.4/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.4/drivers/gpu/drm/vc4/ |
| D | vc4_kms.c | 351 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vc4_ctm_atomic_check() local 355 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check() 357 if (!new_crtc_state->ctm && old_crtc_state->ctm) { in vc4_ctm_atomic_check() 365 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in vc4_ctm_atomic_check() 366 if (new_crtc_state->ctm == old_crtc_state->ctm) in vc4_ctm_atomic_check()
|
| /Linux-v5.4/drivers/gpu/drm/rockchip/ |
| D | analogix_dp-rockchip.c | 170 struct drm_crtc_state *old_crtc_state; in rockchip_dp_drm_encoder_enable() local 178 old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); in rockchip_dp_drm_encoder_enable() 180 if (old_crtc_state && old_crtc_state->self_refresh_active) in rockchip_dp_drm_encoder_enable()
|