Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_atomic_plane.c141 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()
Dintel_crt.c208 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 …]
Dintel_atomic_plane.h40 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,
Dintel_dp_mst.c202 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()
Dintel_dpio_phy.h46 const struct intel_crtc_state *old_crtc_state);
56 const struct intel_crtc_state *old_crtc_state);
Dintel_audio.c311 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 …]
Dintel_bw.c342 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()
Dintel_display.c143 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 …]
Dintel_color.c998 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 …]
Dintel_ddi.c3346 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 …]
Dintel_audio.h19 const struct intel_crtc_state *old_crtc_state,
Dintel_lvds.c328 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()
Dintel_hdmi.c1989 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 …]
Dintel_vdsc.c939 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/
Ddrm_atomic_helper.c611 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 …]
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.c495 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/
Ddrm_modeset_helper_vtables.h377 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);
Ddrm_atomic.h751 #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))
Ddrm_atomic_helper.h93 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/
Dvkms_drv.c73 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/
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()
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/
Dfsl_dcu_drm_crtc.c24 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/
Dvc4_kms.c351 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/
Danalogix_dp-rockchip.c170 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()

123