old_conn_state 989 drivers/gpu/drm/drm_atomic_helper.c struct drm_connector_state *old_conn_state, *new_conn_state; old_conn_state 994 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { old_conn_state 1000 drivers/gpu/drm/drm_atomic_helper.c if (!old_conn_state->crtc) old_conn_state 1003 drivers/gpu/drm/drm_atomic_helper.c old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); old_conn_state 1013 drivers/gpu/drm/drm_atomic_helper.c !drm_atomic_crtc_needs_modeset(old_conn_state->crtc->state)) old_conn_state 1016 drivers/gpu/drm/drm_atomic_helper.c encoder = old_conn_state->best_encoder; old_conn_state 1111 drivers/gpu/drm/drm_atomic_helper.c struct drm_connector_state *old_conn_state, *new_conn_state; old_conn_state 1117 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { old_conn_state 1126 drivers/gpu/drm/drm_atomic_helper.c if ((!crtc && old_conn_state->crtc) || old_conn_state 2019 drivers/gpu/drm/drm_atomic_helper.c struct drm_connector_state *old_conn_state, *new_conn_state; old_conn_state 2071 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_connector_in_state(state, conn, old_conn_state, new_conn_state, i) { old_conn_state 2074 drivers/gpu/drm/drm_atomic_helper.c if (nonblock && old_conn_state->commit && old_conn_state 2075 drivers/gpu/drm/drm_atomic_helper.c !try_wait_for_completion(&old_conn_state->commit->flip_done)) old_conn_state 2079 drivers/gpu/drm/drm_atomic_helper.c commit = crtc_or_fake_commit(state, new_conn_state->crtc ?: old_conn_state->crtc); old_conn_state 2124 drivers/gpu/drm/drm_atomic_helper.c struct drm_connector_state *old_conn_state; old_conn_state 2150 drivers/gpu/drm/drm_atomic_helper.c for_each_old_connector_in_state(old_state, conn, old_conn_state, i) { old_conn_state 2151 drivers/gpu/drm/drm_atomic_helper.c commit = old_conn_state->commit; old_conn_state 2702 drivers/gpu/drm/drm_atomic_helper.c struct drm_connector_state *old_conn_state, *new_conn_state; old_conn_state 2732 drivers/gpu/drm/drm_atomic_helper.c for_each_old_connector_in_state(state, connector, old_conn_state, i) { old_conn_state 2733 drivers/gpu/drm/drm_atomic_helper.c commit = old_conn_state->commit; old_conn_state 2755 drivers/gpu/drm/drm_atomic_helper.c for_each_oldnew_connector_in_state(state, connector, old_conn_state, new_conn_state, i) { old_conn_state 2756 drivers/gpu/drm/drm_atomic_helper.c WARN_ON(connector->state != old_conn_state); old_conn_state 2758 drivers/gpu/drm/drm_atomic_helper.c old_conn_state->state = state; old_conn_state 2761 drivers/gpu/drm/drm_atomic_helper.c state->connectors[i].state = old_conn_state; old_conn_state 1190 drivers/gpu/drm/i915/display/icl_dsi.c const struct drm_connector_state *old_conn_state) old_conn_state 1196 drivers/gpu/drm/i915/display/icl_dsi.c intel_panel_disable_backlight(old_conn_state); old_conn_state 127 drivers/gpu/drm/i915/display/intel_atomic.c struct intel_digital_connector_state *old_conn_state = old_conn_state 142 drivers/gpu/drm/i915/display/intel_atomic.c if (new_conn_state->force_audio != old_conn_state->force_audio || old_conn_state 143 drivers/gpu/drm/i915/display/intel_atomic.c new_conn_state->broadcast_rgb != old_conn_state->broadcast_rgb || old_conn_state 144 drivers/gpu/drm/i915/display/intel_atomic.c new_conn_state->base.colorspace != old_conn_state->base.colorspace || old_conn_state 145 drivers/gpu/drm/i915/display/intel_atomic.c new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || old_conn_state 146 drivers/gpu/drm/i915/display/intel_atomic.c new_conn_state->base.content_type != old_conn_state->base.content_type || old_conn_state 147 drivers/gpu/drm/i915/display/intel_atomic.c new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode || old_conn_state 149 drivers/gpu/drm/i915/display/intel_atomic.c old_conn_state->base.hdr_output_metadata)) old_conn_state 312 drivers/gpu/drm/i915/display/intel_audio.c const struct drm_connector_state *old_conn_state) old_conn_state 472 drivers/gpu/drm/i915/display/intel_audio.c const struct drm_connector_state *old_conn_state) old_conn_state 554 drivers/gpu/drm/i915/display/intel_audio.c const struct drm_connector_state *old_conn_state) old_conn_state 749 drivers/gpu/drm/i915/display/intel_audio.c const struct drm_connector_state *old_conn_state) old_conn_state 760 drivers/gpu/drm/i915/display/intel_audio.c old_conn_state); old_conn_state 20 drivers/gpu/drm/i915/display/intel_audio.h const struct drm_connector_state *old_conn_state); old_conn_state 209 drivers/gpu/drm/i915/display/intel_crt.c const struct drm_connector_state *old_conn_state) old_conn_state 216 drivers/gpu/drm/i915/display/intel_crt.c const struct drm_connector_state *old_conn_state) old_conn_state 222 drivers/gpu/drm/i915/display/intel_crt.c const struct drm_connector_state *old_conn_state) old_conn_state 224 drivers/gpu/drm/i915/display/intel_crt.c intel_disable_crt(encoder, old_crtc_state, old_conn_state); old_conn_state 229 drivers/gpu/drm/i915/display/intel_crt.c const struct drm_connector_state *old_conn_state) old_conn_state 240 drivers/gpu/drm/i915/display/intel_crt.c const struct drm_connector_state *old_conn_state) old_conn_state 246 drivers/gpu/drm/i915/display/intel_crt.c pch_post_disable_crt(encoder, old_crtc_state, old_conn_state); old_conn_state 251 drivers/gpu/drm/i915/display/intel_crt.c intel_ddi_fdi_post_disable(encoder, old_crtc_state, old_conn_state); old_conn_state 3351 drivers/gpu/drm/i915/display/intel_ddi.c const struct drm_connector_state *old_conn_state) old_conn_state 3384 drivers/gpu/drm/i915/display/intel_ddi.c const struct drm_connector_state *old_conn_state) old_conn_state 3391 drivers/gpu/drm/i915/display/intel_ddi.c old_crtc_state, old_conn_state); old_conn_state 3407 drivers/gpu/drm/i915/display/intel_ddi.c const struct drm_connector_state *old_conn_state) old_conn_state 3426 drivers/gpu/drm/i915/display/intel_ddi.c old_crtc_state, old_conn_state); old_conn_state 3429 drivers/gpu/drm/i915/display/intel_ddi.c old_crtc_state, old_conn_state); old_conn_state 3437 drivers/gpu/drm/i915/display/intel_ddi.c const struct drm_connector_state *old_conn_state) old_conn_state 3588 drivers/gpu/drm/i915/display/intel_ddi.c const struct drm_connector_state *old_conn_state) old_conn_state 3596 drivers/gpu/drm/i915/display/intel_ddi.c old_crtc_state, old_conn_state); old_conn_state 3600 drivers/gpu/drm/i915/display/intel_ddi.c intel_edp_backlight_off(old_conn_state); old_conn_state 3608 drivers/gpu/drm/i915/display/intel_ddi.c const struct drm_connector_state *old_conn_state) old_conn_state 3610 drivers/gpu/drm/i915/display/intel_ddi.c struct drm_connector *connector = old_conn_state->connector; old_conn_state 3614 drivers/gpu/drm/i915/display/intel_ddi.c old_crtc_state, old_conn_state); old_conn_state 3624 drivers/gpu/drm/i915/display/intel_ddi.c const struct drm_connector_state *old_conn_state) old_conn_state 3626 drivers/gpu/drm/i915/display/intel_ddi.c intel_hdcp_disable(to_intel_connector(old_conn_state->connector)); old_conn_state 3629 drivers/gpu/drm/i915/display/intel_ddi.c intel_disable_ddi_hdmi(encoder, old_crtc_state, old_conn_state); old_conn_state 3631 drivers/gpu/drm/i915/display/intel_ddi.c intel_disable_ddi_dp(encoder, old_crtc_state, old_conn_state); old_conn_state 24 drivers/gpu/drm/i915/display/intel_ddi.h const struct drm_connector_state *old_conn_state); old_conn_state 6088 drivers/gpu/drm/i915/display/intel_display.c const struct drm_connector_state *old_conn_state, old_conn_state 6091 drivers/gpu/drm/i915/display/intel_display.c struct intel_crtc *old_crtc = old_conn_state->crtc ? old_conn_state 6092 drivers/gpu/drm/i915/display/intel_display.c to_intel_crtc(old_conn_state->crtc) : NULL; old_conn_state 6103 drivers/gpu/drm/i915/display/intel_display.c struct drm_connector_state *old_conn_state; old_conn_state 6109 drivers/gpu/drm/i915/display/intel_display.c old_conn_state, new_conn_state, i) { old_conn_state 6114 drivers/gpu/drm/i915/display/intel_display.c old_conn_state, old_conn_state 6130 drivers/gpu/drm/i915/display/intel_display.c struct drm_connector_state *old_conn_state; old_conn_state 6136 drivers/gpu/drm/i915/display/intel_display.c old_conn_state, new_conn_state, i) { old_conn_state 6141 drivers/gpu/drm/i915/display/intel_display.c old_conn_state, old_conn_state 6220 drivers/gpu/drm/i915/display/intel_display.c struct drm_connector_state *old_conn_state; old_conn_state 6224 drivers/gpu/drm/i915/display/intel_display.c for_each_old_connector_in_state(&state->base, conn, old_conn_state, i) { old_conn_state 6226 drivers/gpu/drm/i915/display/intel_display.c to_intel_encoder(old_conn_state->best_encoder); old_conn_state 6228 drivers/gpu/drm/i915/display/intel_display.c if (old_conn_state->crtc != &crtc->base) old_conn_state 6233 drivers/gpu/drm/i915/display/intel_display.c encoder->disable(encoder, old_crtc_state, old_conn_state); old_conn_state 6241 drivers/gpu/drm/i915/display/intel_display.c struct drm_connector_state *old_conn_state; old_conn_state 6245 drivers/gpu/drm/i915/display/intel_display.c for_each_old_connector_in_state(&state->base, conn, old_conn_state, i) { old_conn_state 6247 drivers/gpu/drm/i915/display/intel_display.c to_intel_encoder(old_conn_state->best_encoder); old_conn_state 6249 drivers/gpu/drm/i915/display/intel_display.c if (old_conn_state->crtc != &crtc->base) old_conn_state 6253 drivers/gpu/drm/i915/display/intel_display.c encoder->post_disable(encoder, old_crtc_state, old_conn_state); old_conn_state 6261 drivers/gpu/drm/i915/display/intel_display.c struct drm_connector_state *old_conn_state; old_conn_state 6265 drivers/gpu/drm/i915/display/intel_display.c for_each_old_connector_in_state(&state->base, conn, old_conn_state, i) { old_conn_state 6267 drivers/gpu/drm/i915/display/intel_display.c to_intel_encoder(old_conn_state->best_encoder); old_conn_state 6269 drivers/gpu/drm/i915/display/intel_display.c if (old_conn_state->crtc != &crtc->base) old_conn_state 6273 drivers/gpu/drm/i915/display/intel_display.c encoder->post_pll_disable(encoder, old_crtc_state, old_conn_state); old_conn_state 13044 drivers/gpu/drm/i915/display/intel_display.c struct drm_connector_state *old_conn_state, *new_conn_state; old_conn_state 13055 drivers/gpu/drm/i915/display/intel_display.c for_each_oldnew_connector_in_state(&state->base, connector, old_conn_state, old_conn_state 13057 drivers/gpu/drm/i915/display/intel_display.c if (old_conn_state->best_encoder == &encoder->base) old_conn_state 2883 drivers/gpu/drm/i915/display/intel_dp.c void intel_edp_backlight_off(const struct drm_connector_state *old_conn_state) old_conn_state 2885 drivers/gpu/drm/i915/display/intel_dp.c struct intel_dp *intel_dp = enc_to_intel_dp(old_conn_state->best_encoder); old_conn_state 2893 drivers/gpu/drm/i915/display/intel_dp.c intel_panel_disable_backlight(old_conn_state); old_conn_state 3228 drivers/gpu/drm/i915/display/intel_dp.c const struct drm_connector_state *old_conn_state) old_conn_state 3236 drivers/gpu/drm/i915/display/intel_dp.c old_crtc_state, old_conn_state); old_conn_state 3241 drivers/gpu/drm/i915/display/intel_dp.c intel_edp_backlight_off(old_conn_state); old_conn_state 3248 drivers/gpu/drm/i915/display/intel_dp.c const struct drm_connector_state *old_conn_state) old_conn_state 3250 drivers/gpu/drm/i915/display/intel_dp.c intel_disable_dp(encoder, old_crtc_state, old_conn_state); old_conn_state 3255 drivers/gpu/drm/i915/display/intel_dp.c const struct drm_connector_state *old_conn_state) old_conn_state 3257 drivers/gpu/drm/i915/display/intel_dp.c intel_disable_dp(encoder, old_crtc_state, old_conn_state); old_conn_state 3262 drivers/gpu/drm/i915/display/intel_dp.c const struct drm_connector_state *old_conn_state) old_conn_state 3282 drivers/gpu/drm/i915/display/intel_dp.c const struct drm_connector_state *old_conn_state) old_conn_state 3289 drivers/gpu/drm/i915/display/intel_dp.c const struct drm_connector_state *old_conn_state) old_conn_state 3626 drivers/gpu/drm/i915/display/intel_dp.c const struct drm_connector_state *old_conn_state) old_conn_state 223 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c static void intel_dp_aux_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 225 drivers/gpu/drm/i915/display/intel_dp_aux_backlight.c set_aux_backlight_enable(enc_to_intel_dp(old_conn_state->best_encoder), false); old_conn_state 166 drivers/gpu/drm/i915/display/intel_dp_mst.c struct drm_connector_state *old_conn_state = old_conn_state 179 drivers/gpu/drm/i915/display/intel_dp_mst.c if (!old_conn_state->crtc) old_conn_state 194 drivers/gpu/drm/i915/display/intel_dp_mst.c mgr = &enc_to_mst(old_conn_state->best_encoder)->primary->dp.mst_mgr; old_conn_state 203 drivers/gpu/drm/i915/display/intel_dp_mst.c const struct drm_connector_state *old_conn_state) old_conn_state 209 drivers/gpu/drm/i915/display/intel_dp_mst.c to_intel_connector(old_conn_state->connector); old_conn_state 222 drivers/gpu/drm/i915/display/intel_dp_mst.c old_crtc_state, old_conn_state); old_conn_state 227 drivers/gpu/drm/i915/display/intel_dp_mst.c const struct drm_connector_state *old_conn_state) old_conn_state 233 drivers/gpu/drm/i915/display/intel_dp_mst.c to_intel_connector(old_conn_state->connector); old_conn_state 278 drivers/gpu/drm/i915/display/intel_dp_mst.c const struct drm_connector_state *old_conn_state) old_conn_state 287 drivers/gpu/drm/i915/display/intel_dp_mst.c old_conn_state); old_conn_state 188 drivers/gpu/drm/i915/display/intel_dvo.c const struct drm_connector_state *old_conn_state) old_conn_state 1990 drivers/gpu/drm/i915/display/intel_hdmi.c const struct drm_connector_state *old_conn_state) old_conn_state 2041 drivers/gpu/drm/i915/display/intel_hdmi.c old_crtc_state, old_conn_state); old_conn_state 2048 drivers/gpu/drm/i915/display/intel_hdmi.c const struct drm_connector_state *old_conn_state) old_conn_state 2052 drivers/gpu/drm/i915/display/intel_hdmi.c old_crtc_state, old_conn_state); old_conn_state 2054 drivers/gpu/drm/i915/display/intel_hdmi.c intel_disable_hdmi(encoder, old_crtc_state, old_conn_state); old_conn_state 2059 drivers/gpu/drm/i915/display/intel_hdmi.c const struct drm_connector_state *old_conn_state) old_conn_state 2063 drivers/gpu/drm/i915/display/intel_hdmi.c old_crtc_state, old_conn_state); old_conn_state 2068 drivers/gpu/drm/i915/display/intel_hdmi.c const struct drm_connector_state *old_conn_state) old_conn_state 2070 drivers/gpu/drm/i915/display/intel_hdmi.c intel_disable_hdmi(encoder, old_crtc_state, old_conn_state); old_conn_state 2658 drivers/gpu/drm/i915/display/intel_hdmi.c const struct drm_connector_state *old_conn_state) old_conn_state 2665 drivers/gpu/drm/i915/display/intel_hdmi.c const struct drm_connector_state *old_conn_state) old_conn_state 2673 drivers/gpu/drm/i915/display/intel_hdmi.c const struct drm_connector_state *old_conn_state) old_conn_state 329 drivers/gpu/drm/i915/display/intel_lvds.c const struct drm_connector_state *old_conn_state) old_conn_state 344 drivers/gpu/drm/i915/display/intel_lvds.c const struct drm_connector_state *old_conn_state) old_conn_state 347 drivers/gpu/drm/i915/display/intel_lvds.c intel_panel_disable_backlight(old_conn_state); old_conn_state 349 drivers/gpu/drm/i915/display/intel_lvds.c intel_disable_lvds(encoder, old_crtc_state, old_conn_state); old_conn_state 354 drivers/gpu/drm/i915/display/intel_lvds.c const struct drm_connector_state *old_conn_state) old_conn_state 356 drivers/gpu/drm/i915/display/intel_lvds.c intel_panel_disable_backlight(old_conn_state); old_conn_state 361 drivers/gpu/drm/i915/display/intel_lvds.c const struct drm_connector_state *old_conn_state) old_conn_state 363 drivers/gpu/drm/i915/display/intel_lvds.c intel_disable_lvds(encoder, old_crtc_state, old_conn_state); old_conn_state 729 drivers/gpu/drm/i915/display/intel_panel.c static void lpt_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 731 drivers/gpu/drm/i915/display/intel_panel.c struct intel_connector *connector = to_intel_connector(old_conn_state->connector); old_conn_state 735 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(old_conn_state, 0); old_conn_state 755 drivers/gpu/drm/i915/display/intel_panel.c static void pch_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 757 drivers/gpu/drm/i915/display/intel_panel.c struct intel_connector *connector = to_intel_connector(old_conn_state->connector); old_conn_state 761 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(old_conn_state, 0); old_conn_state 770 drivers/gpu/drm/i915/display/intel_panel.c static void i9xx_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 772 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(old_conn_state, 0); old_conn_state 775 drivers/gpu/drm/i915/display/intel_panel.c static void i965_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 777 drivers/gpu/drm/i915/display/intel_panel.c struct drm_i915_private *dev_priv = to_i915(old_conn_state->connector->dev); old_conn_state 780 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(old_conn_state, 0); old_conn_state 786 drivers/gpu/drm/i915/display/intel_panel.c static void vlv_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 788 drivers/gpu/drm/i915/display/intel_panel.c struct intel_connector *connector = to_intel_connector(old_conn_state->connector); old_conn_state 790 drivers/gpu/drm/i915/display/intel_panel.c enum pipe pipe = to_intel_crtc(old_conn_state->crtc)->pipe; old_conn_state 793 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(old_conn_state, 0); old_conn_state 799 drivers/gpu/drm/i915/display/intel_panel.c static void bxt_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 801 drivers/gpu/drm/i915/display/intel_panel.c struct intel_connector *connector = to_intel_connector(old_conn_state->connector); old_conn_state 806 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(old_conn_state, 0); old_conn_state 819 drivers/gpu/drm/i915/display/intel_panel.c static void cnp_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 821 drivers/gpu/drm/i915/display/intel_panel.c struct intel_connector *connector = to_intel_connector(old_conn_state->connector); old_conn_state 826 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(old_conn_state, 0); old_conn_state 833 drivers/gpu/drm/i915/display/intel_panel.c static void pwm_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 835 drivers/gpu/drm/i915/display/intel_panel.c struct intel_connector *connector = to_intel_connector(old_conn_state->connector); old_conn_state 839 drivers/gpu/drm/i915/display/intel_panel.c intel_panel_actually_set_backlight(old_conn_state, 0); old_conn_state 844 drivers/gpu/drm/i915/display/intel_panel.c void intel_panel_disable_backlight(const struct drm_connector_state *old_conn_state) old_conn_state 846 drivers/gpu/drm/i915/display/intel_panel.c struct intel_connector *connector = to_intel_connector(old_conn_state->connector); old_conn_state 869 drivers/gpu/drm/i915/display/intel_panel.c panel->backlight.disable(old_conn_state); old_conn_state 43 drivers/gpu/drm/i915/display/intel_panel.h void intel_panel_disable_backlight(const struct drm_connector_state *old_conn_state); old_conn_state 1770 drivers/gpu/drm/i915/display/intel_sdvo.c const struct drm_connector_state *old_conn_state) old_conn_state 1776 drivers/gpu/drm/i915/display/intel_sdvo.c const struct drm_connector_state *old_conn_state) old_conn_state 1778 drivers/gpu/drm/i915/display/intel_sdvo.c intel_disable_sdvo(encoder, old_crtc_state, old_conn_state); old_conn_state 2434 drivers/gpu/drm/i915/display/intel_sdvo.c struct drm_connector_state *old_conn_state = old_conn_state 2437 drivers/gpu/drm/i915/display/intel_sdvo.c to_intel_sdvo_connector_state(old_conn_state); old_conn_state 2443 drivers/gpu/drm/i915/display/intel_sdvo.c memcmp(&old_conn_state->tv, &new_conn_state->tv, sizeof(old_conn_state->tv)))) { old_conn_state 935 drivers/gpu/drm/i915/display/intel_tv.c const struct drm_connector_state *old_conn_state) old_conn_state 851 drivers/gpu/drm/i915/display/vlv_dsi.c const struct drm_connector_state *old_conn_state) old_conn_state 859 drivers/gpu/drm/i915/display/vlv_dsi.c intel_panel_disable_backlight(old_conn_state); old_conn_state 293 drivers/gpu/drm/i915/i915_drv.h const struct drm_connector_state *old_conn_state); old_conn_state 992 drivers/gpu/drm/nouveau/dispnv50/disp.c struct drm_connector_state *old_conn_state = old_conn_state 997 drivers/gpu/drm/nouveau/dispnv50/disp.c if (!old_conn_state->crtc)