/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_atomic.c | 122 struct intel_digital_connector_state *old_conn_state = in intel_digital_connector_atomic_check() local 137 if (new_conn_state->force_audio != old_conn_state->force_audio || in intel_digital_connector_atomic_check() 138 new_conn_state->broadcast_rgb != old_conn_state->broadcast_rgb || in intel_digital_connector_atomic_check() 139 new_conn_state->base.colorspace != old_conn_state->base.colorspace || in intel_digital_connector_atomic_check() 140 new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || in intel_digital_connector_atomic_check() 141 new_conn_state->base.content_type != old_conn_state->base.content_type || in intel_digital_connector_atomic_check() 142 new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode || in intel_digital_connector_atomic_check() 143 new_conn_state->base.privacy_screen_sw_state != old_conn_state->base.privacy_screen_sw_state || in intel_digital_connector_atomic_check() 181 const struct drm_connector_state *old_conn_state, *new_conn_state; in intel_connector_needs_modeset() local 183 old_conn_state = drm_atomic_get_old_connector_state(&state->base, connector); in intel_connector_needs_modeset() [all …]
|
D | g4x_hdmi.c | 289 const struct drm_connector_state *old_conn_state) in intel_disable_hdmi() argument 340 old_crtc_state, old_conn_state); in intel_disable_hdmi() 348 const struct drm_connector_state *old_conn_state) in g4x_disable_hdmi() argument 350 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in g4x_disable_hdmi() 352 intel_disable_hdmi(state, encoder, old_crtc_state, old_conn_state); in g4x_disable_hdmi() 358 const struct drm_connector_state *old_conn_state) in pch_disable_hdmi() argument 360 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in pch_disable_hdmi() 366 const struct drm_connector_state *old_conn_state) in pch_post_disable_hdmi() argument 368 intel_disable_hdmi(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_hdmi() 433 const struct drm_connector_state *old_conn_state) in chv_hdmi_post_pll_disable() argument [all …]
|
D | intel_backlight.c | 330 static void lpt_disable_backlight(const struct drm_connector_state *old_conn_state, u32 level) in lpt_disable_backlight() argument 332 struct intel_connector *connector = to_intel_connector(old_conn_state->connector); in lpt_disable_backlight() 336 intel_backlight_set_pwm_level(old_conn_state, level); in lpt_disable_backlight() 358 static void pch_disable_backlight(const struct drm_connector_state *old_conn_state, u32 val) in pch_disable_backlight() argument 360 struct intel_connector *connector = to_intel_connector(old_conn_state->connector); in pch_disable_backlight() 364 intel_backlight_set_pwm_level(old_conn_state, val); in pch_disable_backlight() 373 static void i9xx_disable_backlight(const struct drm_connector_state *old_conn_state, u32 val) in i9xx_disable_backlight() argument 375 intel_backlight_set_pwm_level(old_conn_state, val); in i9xx_disable_backlight() 378 static void i965_disable_backlight(const struct drm_connector_state *old_conn_state, u32 val) in i965_disable_backlight() argument 380 struct drm_i915_private *dev_priv = to_i915(old_conn_state->connector->dev); in i965_disable_backlight() [all …]
|
D | intel_lvds.c | 335 const struct drm_connector_state *old_conn_state) in intel_disable_lvds() argument 354 const struct drm_connector_state *old_conn_state) in gmch_disable_lvds() argument 357 intel_backlight_disable(old_conn_state); in gmch_disable_lvds() 359 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in gmch_disable_lvds() 365 const struct drm_connector_state *old_conn_state) in pch_disable_lvds() argument 367 intel_backlight_disable(old_conn_state); in pch_disable_lvds() 373 const struct drm_connector_state *old_conn_state) in pch_post_disable_lvds() argument 375 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_lvds()
|
D | intel_modeset_verify.c | 111 struct drm_connector_state *old_conn_state, *new_conn_state; in verify_encoder_state() local 122 for_each_oldnew_connector_in_state(&state->base, connector, old_conn_state, in verify_encoder_state() 124 if (old_conn_state->best_encoder == &encoder->base) in verify_encoder_state()
|
D | g4x_dp.c | 475 const struct drm_connector_state *old_conn_state) in intel_disable_dp() argument 481 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in intel_disable_dp() 488 intel_edp_backlight_off(old_conn_state); in intel_disable_dp() 496 const struct drm_connector_state *old_conn_state) in g4x_disable_dp() argument 498 intel_disable_dp(state, encoder, old_crtc_state, old_conn_state); in g4x_disable_dp() 504 const struct drm_connector_state *old_conn_state) in vlv_disable_dp() argument 506 intel_disable_dp(state, encoder, old_crtc_state, old_conn_state); in vlv_disable_dp() 512 const struct drm_connector_state *old_conn_state) in g4x_post_disable_dp() argument 533 const struct drm_connector_state *old_conn_state) in vlv_post_disable_dp() argument 541 const struct drm_connector_state *old_conn_state) in chv_post_disable_dp() argument [all …]
|
D | intel_crt.c | 213 const struct drm_connector_state *old_conn_state) in intel_disable_crt() argument 221 const struct drm_connector_state *old_conn_state) in pch_disable_crt() argument 228 const struct drm_connector_state *old_conn_state) in pch_post_disable_crt() argument 230 intel_disable_crt(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_crt() 236 const struct drm_connector_state *old_conn_state) in hsw_disable_crt() argument 248 const struct drm_connector_state *old_conn_state) in hsw_post_disable_crt() argument 263 pch_post_disable_crt(state, encoder, old_crtc_state, old_conn_state); in hsw_post_disable_crt()
|
D | intel_audio.h | 20 const struct drm_connector_state *old_conn_state);
|
D | intel_backlight.h | 29 void intel_backlight_disable(const struct drm_connector_state *old_conn_state);
|
D | intel_ddi.h | 32 const struct drm_connector_state *old_conn_state);
|
D | intel_dp_aux_backlight.c | 360 static void intel_dp_aux_vesa_disable_backlight(const struct drm_connector_state *old_conn_state, in intel_dp_aux_vesa_disable_backlight() argument 363 struct intel_connector *connector = to_intel_connector(old_conn_state->connector); in intel_dp_aux_vesa_disable_backlight() 370 panel->backlight.pwm_funcs->disable(old_conn_state, in intel_dp_aux_vesa_disable_backlight()
|
D | intel_audio.c | 73 const struct drm_connector_state *old_conn_state); 336 const struct drm_connector_state *old_conn_state) in g4x_audio_codec_disable() argument 493 const struct drm_connector_state *old_conn_state) in hsw_audio_codec_disable() argument 685 const struct drm_connector_state *old_conn_state) in ilk_audio_codec_disable() argument 878 const struct drm_connector_state *old_conn_state) in intel_audio_codec_disable() argument 883 struct drm_connector *connector = old_conn_state->connector; in intel_audio_codec_disable() 897 old_conn_state); in intel_audio_codec_disable()
|
D | intel_dp_mst.c | 360 const struct drm_connector_state *old_conn_state) in intel_mst_disable_dp() argument 366 to_intel_connector(old_conn_state->connector); in intel_mst_disable_dp() 379 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in intel_mst_disable_dp() 385 const struct drm_connector_state *old_conn_state) in intel_mst_post_disable_dp() argument 391 to_intel_connector(old_conn_state->connector); in intel_mst_post_disable_dp()
|
D | intel_ddi.c | 2594 const struct drm_connector_state *old_conn_state) in intel_ddi_post_disable_dp() argument 2604 old_crtc_state, old_conn_state); in intel_ddi_post_disable_dp() 2654 const struct drm_connector_state *old_conn_state) in intel_ddi_post_disable_hdmi() argument 2661 old_crtc_state, old_conn_state); in intel_ddi_post_disable_hdmi() 2683 const struct drm_connector_state *old_conn_state) in intel_ddi_post_disable() argument 2734 old_conn_state); in intel_ddi_post_disable() 2737 old_conn_state); in intel_ddi_post_disable() 2939 const struct drm_connector_state *old_conn_state) in intel_disable_ddi_dp() argument 2945 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in intel_disable_ddi_dp() 2948 intel_edp_backlight_off(old_conn_state); in intel_disable_ddi_dp() [all …]
|
D | intel_sdvo.c | 1815 const struct drm_connector_state *old_conn_state) in pch_disable_sdvo() argument 1822 const struct drm_connector_state *old_conn_state) in pch_post_disable_sdvo() argument 1824 intel_disable_sdvo(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_sdvo() 2490 struct drm_connector_state *old_conn_state = in intel_sdvo_atomic_check() local 2493 to_intel_sdvo_connector_state(old_conn_state); in intel_sdvo_atomic_check() 2499 memcmp(&old_conn_state->tv, &new_conn_state->tv, sizeof(old_conn_state->tv)))) { in intel_sdvo_atomic_check()
|
D | icl_dsi.c | 1446 const struct drm_connector_state *old_conn_state) in gen11_dsi_disable() argument 1449 struct intel_crtc *crtc = to_intel_crtc(old_conn_state->crtc); in gen11_dsi_disable() 1453 intel_backlight_disable(old_conn_state); in gen11_dsi_disable() 1479 const struct drm_connector_state *old_conn_state) in gen11_dsi_post_disable() argument
|
D | intel_display.c | 1628 const struct drm_connector_state *old_conn_state; in intel_encoders_disable() local 1632 for_each_old_connector_in_state(&state->base, conn, old_conn_state, i) { in intel_encoders_disable() 1634 to_intel_encoder(old_conn_state->best_encoder); in intel_encoders_disable() 1636 if (old_conn_state->crtc != &crtc->base) in intel_encoders_disable() 1642 old_crtc_state, old_conn_state); in intel_encoders_disable() 1651 const struct drm_connector_state *old_conn_state; in intel_encoders_post_disable() local 1655 for_each_old_connector_in_state(&state->base, conn, old_conn_state, i) { in intel_encoders_post_disable() 1657 to_intel_encoder(old_conn_state->best_encoder); in intel_encoders_post_disable() 1659 if (old_conn_state->crtc != &crtc->base) in intel_encoders_post_disable() 1664 old_crtc_state, old_conn_state); in intel_encoders_post_disable() [all …]
|
D | intel_dvo.c | 190 const struct drm_connector_state *old_conn_state) in intel_disable_dvo() argument
|
D | vlv_dsi.c | 909 const struct drm_connector_state *old_conn_state) in intel_dsi_disable() argument 918 intel_backlight_disable(old_conn_state); in intel_dsi_disable() 946 const struct drm_connector_state *old_conn_state) in intel_dsi_post_disable() argument
|
D | intel_dp.c | 2149 void intel_edp_backlight_off(const struct drm_connector_state *old_conn_state) in intel_edp_backlight_off() argument 2151 struct intel_dp *intel_dp = enc_to_intel_dp(to_intel_encoder(old_conn_state->best_encoder)); in intel_edp_backlight_off() 2160 intel_backlight_disable(old_conn_state); in intel_edp_backlight_off() 4919 const struct drm_connector_state *old_conn_state = in intel_modeset_synced_crtcs() local 4925 crtc = to_intel_crtc(old_conn_state->crtc); in intel_modeset_synced_crtcs()
|
D | intel_tv.c | 939 const struct drm_connector_state *old_conn_state) in intel_disable_tv() argument
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_atomic_helper.c | 1132 struct drm_connector_state *old_conn_state, *new_conn_state; in disable_outputs() local 1137 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in disable_outputs() 1146 if (!old_conn_state->crtc) in disable_outputs() 1149 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs() 1159 !drm_atomic_crtc_needs_modeset(old_conn_state->crtc->state)) in disable_outputs() 1162 encoder = old_conn_state->best_encoder; in disable_outputs() 1256 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_atomic_helper_update_legacy_modeset_state() local 1262 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in drm_atomic_helper_update_legacy_modeset_state() 1271 if ((!crtc && old_conn_state->crtc) || in drm_atomic_helper_update_legacy_modeset_state() 2231 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_atomic_helper_setup_commit() local [all …]
|
/linux-6.1.9/drivers/gpu/drm/meson/ |
D | meson_encoder_hdmi.c | 306 struct drm_connector_state *old_conn_state = in meson_encoder_hdmi_atomic_check() local 314 if (!drm_connector_atomic_hdr_metadata_equal(old_conn_state, conn_state)) in meson_encoder_hdmi_atomic_check()
|
/linux-6.1.9/drivers/gpu/drm/display/ |
D | drm_dp_mst_topology.c | 4292 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_dp_atomic_release_time_slots() local 4295 old_conn_state = drm_atomic_get_old_connector_state(state, port->connector); in drm_dp_atomic_release_time_slots() 4296 if (!old_conn_state->crtc) in drm_dp_atomic_release_time_slots() 4317 topology_state->pending_crtc_mask |= drm_crtc_mask(old_conn_state->crtc); in drm_dp_atomic_release_time_slots() 4459 struct drm_connector_state *old_conn_state = in drm_dp_mst_root_conn_atomic_check() local 4475 if (old_conn_state->crtc) { in drm_dp_mst_root_conn_atomic_check() 4476 crtc_state = drm_atomic_get_new_crtc_state(state, old_conn_state->crtc); in drm_dp_mst_root_conn_atomic_check() 4484 mst_state->pending_crtc_mask |= drm_crtc_mask(old_conn_state->crtc); in drm_dp_mst_root_conn_atomic_check()
|
/linux-6.1.9/drivers/gpu/drm/vc4/ |
D | vc4_hdmi.c | 1907 struct drm_connector_state *old_conn_state = in vc4_hdmi_encoder_atomic_check() local 1910 conn_state_to_vc4_hdmi_conn_state(old_conn_state); in vc4_hdmi_encoder_atomic_check()
|