Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/i915/display/
H A Dintel_display.c350 intel_wait_for_pipe_off(const struct intel_crtc_state *old_crtc_state) in intel_wait_for_pipe_off() argument
352 struct intel_display *display = to_intel_display(old_crtc_state); in intel_wait_for_pipe_off()
353 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_wait_for_pipe_off()
356 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_wait_for_pipe_off()
501 void intel_disable_transcoder(const struct intel_crtc_state *old_crtc_state) in intel_disable_transcoder() argument
503 struct intel_display *display = to_intel_display(old_crtc_state); in intel_disable_transcoder()
504 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_disable_transcoder()
505 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_disable_transcoder()
525 if (old_crtc_state->double_wide) in intel_disable_transcoder()
534 old_crtc_state->dsc.compression_enable) in intel_disable_transcoder()
[all …]
H A Dintel_vrr.c88 struct intel_crtc_state *old_crtc_state, *new_crtc_state; in intel_vrr_check_modeset() local
91 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state, in intel_vrr_check_modeset()
94 old_crtc_state->uapi.vrr_enabled) in intel_vrr_check_modeset()
680 intel_vrr_dcb_reset(const struct intel_crtc_state *old_crtc_state, in intel_vrr_dcb_reset() argument
683 struct intel_display *display = to_intel_display(old_crtc_state); in intel_vrr_dcb_reset()
686 if (!old_crtc_state->vrr.dc_balance.enable) in intel_vrr_dcb_reset()
870 intel_vrr_disable_dc_balancing(const struct intel_crtc_state *old_crtc_state) in intel_vrr_disable_dc_balancing() argument
872 struct intel_display *display = to_intel_display(old_crtc_state); in intel_vrr_disable_dc_balancing()
873 enum transcoder cpu_transcoder = old_crtc_state->cpu_transcoder; in intel_vrr_disable_dc_balancing()
874 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_vrr_disable_dc_balancing()
[all …]
H A Dg4x_dp.c235 const struct intel_crtc_state *old_crtc_state) in ilk_edp_pll_off() argument
239 assert_transcoder_disabled(display, old_crtc_state->cpu_transcoder); in ilk_edp_pll_off()
412 const struct intel_crtc_state *old_crtc_state) in intel_dp_link_down() argument
416 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_dp_link_down()
462 vlv_pps_port_disable(encoder, old_crtc_state); in intel_dp_link_down()
483 const struct intel_crtc_state *old_crtc_state, in g4x_dp_audio_disable() argument
489 if (!old_crtc_state->has_audio) in g4x_dp_audio_disable()
492 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in g4x_dp_audio_disable()
501 const struct intel_crtc_state *old_crtc_state, in intel_disable_dp() argument
520 const struct intel_crtc_state *old_crtc_state, in g4x_disable_dp() argument
[all …]
H A Dintel_dp_tunnel.c441 const struct intel_crtc_state *old_crtc_state; in check_inherited_tunnel_state() local
458 old_crtc_state = intel_atomic_get_old_crtc_state(state, old_crtc); in check_inherited_tunnel_state()
460 if (!old_crtc_state->hw.active || in check_inherited_tunnel_state()
461 old_crtc_state->dp_tunnel_ref.tunnel == intel_dp->tunnel) in check_inherited_tunnel_state()
723 const struct intel_crtc_state *old_crtc_state; in atomic_decrease_bw() local
727 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in atomic_decrease_bw()
738 tunnel = old_crtc_state->dp_tunnel_ref.tunnel; in atomic_decrease_bw()
H A Dintel_dbuf_bw.c184 const struct intel_crtc_state *old_crtc_state; in intel_dbuf_bw_calc_min_cdclk() local
192 for_each_oldnew_intel_crtc_in_state(state, crtc, old_crtc_state, in intel_dbuf_bw_calc_min_cdclk()
196 skl_crtc_calc_dbuf_bw(&old_dbuf_bw, old_crtc_state); in intel_dbuf_bw_calc_min_cdclk()
H A Dintel_lvds.c341 const struct intel_crtc_state *old_crtc_state, in intel_disable_lvds() argument
358 const struct intel_crtc_state *old_crtc_state, in gmch_disable_lvds() argument
364 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in gmch_disable_lvds()
369 const struct intel_crtc_state *old_crtc_state, in pch_disable_lvds() argument
377 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_lvds() argument
380 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_lvds()
H A Dintel_audio.h24 const struct intel_crtc_state *old_crtc_state,
H A Dintel_vdsc.c915 void intel_dsc_disable(const struct intel_crtc_state *old_crtc_state) in intel_dsc_disable() argument
917 struct intel_display *display = to_intel_display(old_crtc_state); in intel_dsc_disable()
918 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_dsc_disable()
921 if (old_crtc_state->dsc.compression_enable || in intel_dsc_disable()
922 old_crtc_state->joiner_pipes) { in intel_dsc_disable()
923 intel_de_write(display, dss_ctl1_reg(crtc, old_crtc_state->cpu_transcoder), 0); in intel_dsc_disable()
924 intel_de_write(display, dss_ctl2_reg(crtc, old_crtc_state->cpu_transcoder), 0); in intel_dsc_disable()
H A Dintel_atomic.c239 const struct intel_crtc_state *old_crtc_state = to_intel_crtc_state(crtc->state); in intel_crtc_duplicate_state() local
242 crtc_state = kmemdup(old_crtc_state, sizeof(*crtc_state), GFP_KERNEL); in intel_crtc_duplicate_state()
H A Dintel_color.c2058 const struct intel_crtc_state *old_crtc_state = in intel_can_preload_luts() local
2064 return !old_crtc_state->post_csc_lut && in intel_can_preload_luts()
2065 !old_crtc_state->pre_csc_lut; in intel_can_preload_luts()
2071 const struct intel_crtc_state *old_crtc_state = in vlv_can_preload_luts() local
2074 return !old_crtc_state->wgc_enable && in vlv_can_preload_luts()
2075 !old_crtc_state->post_csc_lut; in vlv_can_preload_luts()
2081 const struct intel_crtc_state *old_crtc_state = in chv_can_preload_luts() local
2091 if (old_crtc_state->cgm_mode || new_crtc_state->cgm_mode) in chv_can_preload_luts()
2101 const struct intel_crtc_state *old_crtc_state = in intel_color_check() local
2110 if (!old_crtc_state->c8_planes != !new_crtc_state->c8_planes) in intel_color_check()
[all …]
H A Dicl_dsi.c1438 const struct intel_crtc_state *old_crtc_state, in gen11_dsi_disable() argument
1452 const struct intel_crtc_state *old_crtc_state, in gen11_dsi_post_disable() argument
1456 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in gen11_dsi_post_disable()
1458 intel_crtc_vblank_off(old_crtc_state); in gen11_dsi_post_disable()
1472 intel_dsc_disable(old_crtc_state); in gen11_dsi_post_disable()
1473 skl_scaler_disable(old_crtc_state); in gen11_dsi_post_disable()
H A Dintel_sdvo.c1803 const struct intel_crtc_state *old_crtc_state, in intel_sdvo_disable_audio() argument
1808 if (!old_crtc_state->has_audio) in intel_sdvo_disable_audio()
1836 const struct intel_crtc_state *old_crtc_state, in intel_disable_sdvo() argument
1841 struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->uapi.crtc); in intel_disable_sdvo()
1882 const struct intel_crtc_state *old_crtc_state, in pch_disable_sdvo() argument
1889 const struct intel_crtc_state *old_crtc_state, in pch_post_disable_sdvo() argument
1892 intel_disable_sdvo(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_sdvo()
/linux/drivers/gpu/drm/msm/dp/
H A Ddp_drm.c150 struct drm_crtc_state *old_crtc_state; in msm_edp_bridge_atomic_enable() local
165 old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); in msm_edp_bridge_atomic_enable()
167 if (old_crtc_state && old_crtc_state->self_refresh_active) { in msm_edp_bridge_atomic_enable()
179 struct drm_crtc_state *new_crtc_state = NULL, *old_crtc_state = NULL; in msm_edp_bridge_atomic_disable() local
192 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc); in msm_edp_bridge_atomic_disable()
193 if (!old_crtc_state) in msm_edp_bridge_atomic_disable()
210 } else if (old_crtc_state->self_refresh_active) { in msm_edp_bridge_atomic_disable()
/linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.c653 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_check_modeset() local
662 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
668 if (!drm_mode_equal(&old_crtc_state->mode, &new_crtc_state->mode)) { in drm_atomic_helper_check_modeset()
674 if (old_crtc_state->enable != new_crtc_state->enable) { in drm_atomic_helper_check_modeset()
690 if (old_crtc_state->active != new_crtc_state->active) { in drm_atomic_helper_check_modeset()
760 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in drm_atomic_helper_check_modeset()
1181 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_commit_encoder_bridge_disable() local
1196 old_crtc_state = drm_atomic_get_old_crtc_state(state, old_conn_state->crtc); in drm_atomic_helper_commit_encoder_bridge_disable()
1205 if (!crtc_needs_disable(old_crtc_state, new_crtc_state) || in drm_atomic_helper_commit_encoder_bridge_disable()
1257 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in drm_atomic_helper_commit_crtc_disable() local
[all …]
/linux/drivers/gpu/drm/bridge/
H A Dpanel.c119 struct drm_crtc_state *old_crtc_state; in panel_bridge_atomic_pre_enable() local
125 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc); in panel_bridge_atomic_pre_enable()
126 if (old_crtc_state && old_crtc_state->self_refresh_active) in panel_bridge_atomic_pre_enable()
138 struct drm_crtc_state *old_crtc_state; in panel_bridge_atomic_enable() local
144 old_crtc_state = drm_atomic_get_old_crtc_state(atomic_state, crtc); in panel_bridge_atomic_enable()
145 if (old_crtc_state && old_crtc_state->self_refresh_active) in panel_bridge_atomic_enable()
/linux/include/drm/
H A Ddrm_atomic.h1010 #define for_each_oldnew_crtc_in_state(__state, crtc, old_crtc_state, new_crtc_state, __i) \ argument
1017 (old_crtc_state) = (__state)->crtcs[__i].old_state, \
1018 (void)(old_crtc_state) /* Only to avoid unused-but-set-variable warning */, \
1033 #define for_each_old_crtc_in_state(__state, crtc, old_crtc_state, __i) \ argument
1040 (old_crtc_state) = (__state)->crtcs[__i].old_state, 1))
H A Ddrm_atomic_helper.h132 void drm_atomic_helper_commit_planes_on_crtc(struct drm_crtc_state *old_crtc_state);
134 drm_atomic_helper_disable_planes_on_crtc(struct drm_crtc_state *old_crtc_state,
/linux/drivers/gpu/drm/imx/ipuv3/
H 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()
/linux/drivers/gpu/drm/fsl-dcu/
H A Dfsl_dcu_drm_crtc.c48 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, in fsl_dcu_drm_crtc_atomic_disable() local
54 drm_atomic_helper_disable_planes_on_crtc(old_crtc_state, true); in fsl_dcu_drm_crtc_atomic_disable()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c249 is_timing_unchanged_for_freesync(struct drm_crtc_state *old_crtc_state,
9509 struct drm_crtc_state *old_crtc_state, in is_content_protection_different() argument
9523 if (old_crtc_state) in is_content_protection_different()
9525 old_crtc_state->enable, in is_content_protection_different()
9526 old_crtc_state->active, in is_content_protection_different()
9527 old_crtc_state->mode_changed, in is_content_protection_different()
9528 old_crtc_state->active_changed, in is_content_protection_different()
9529 old_crtc_state->connectors_changed); in is_content_protection_different()
10489 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in amdgpu_dm_commit_streams() local
10506 old_crtc_state = NULL; in amdgpu_dm_commit_streams()
[all …]
/linux/drivers/gpu/drm/ast/
H A Dast_mode.c715 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); in ast_crtc_helper_atomic_check() local
716 struct ast_crtc_state *old_ast_crtc_state = to_ast_crtc_state(old_crtc_state); in ast_crtc_helper_atomic_check()
848 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, crtc); in ast_crtc_helper_atomic_disable() local
865 drm_atomic_helper_disable_planes_on_crtc(old_crtc_state, false); in ast_crtc_helper_atomic_disable()
/linux/drivers/gpu/drm/tidss/
H A Dtidss_crtc.c167 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, in tidss_crtc_atomic_flush() local
198 tidss_crtc_position_planes(tidss, crtc, old_crtc_state, false); in tidss_crtc_atomic_flush()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c946 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in vmw_kms_check_topology() local
985 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, in vmw_kms_check_topology()
1140 struct drm_crtc_state *old_crtc_state; in vmw_atomic_commit_tail() local
1146 for_each_old_crtc_in_state(old_state, crtc, old_crtc_state, i) { in vmw_atomic_commit_tail()
1148 (void)old_crtc_state; in vmw_atomic_commit_tail()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c2172 struct drm_crtc_state *new_crtc_state, *old_crtc_state; in nv50_disp_atomic_commit_tail() local
2197 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in nv50_disp_atomic_commit_tail()
2204 if (old_crtc_state->active && !new_crtc_state->active) { in nv50_disp_atomic_commit_tail()
2280 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in nv50_disp_atomic_commit_tail()
2293 if (!old_crtc_state->active) { in nv50_disp_atomic_commit_tail()
2331 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in nv50_disp_atomic_commit_tail()
2513 struct drm_crtc_state *old_crtc_state, *new_crtc_state; in nv50_disp_outp_atomic_check_clr() local
2520 old_crtc_state = drm_atomic_get_old_crtc_state(&atom->state, crtc); in nv50_disp_outp_atomic_check_clr()
2522 if (old_crtc_state->active && drm_atomic_crtc_needs_modeset(new_crtc_state)) { in nv50_disp_outp_atomic_check_clr()
H A Dhead.c335 struct drm_crtc_state *old_crtc_state = drm_atomic_get_old_crtc_state(state, in nv50_head_atomic_check() local
341 struct nv50_head_atom *armh = nv50_head_atom(old_crtc_state); in nv50_head_atomic_check()

12