Home
last modified time | relevance | path

Searched refs:old_conn_state (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/gpu/drm/i915/display/
H A Dintel_atomic.c123 struct intel_digital_connector_state *old_conn_state = in intel_digital_connector_atomic_check() local
138 if (new_conn_state->force_audio != old_conn_state->force_audio || in intel_digital_connector_atomic_check()
139 new_conn_state->broadcast_rgb != old_conn_state->broadcast_rgb || in intel_digital_connector_atomic_check()
140 new_conn_state->base.colorspace != old_conn_state->base.colorspace || in intel_digital_connector_atomic_check()
141 new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || in intel_digital_connector_atomic_check()
142 new_conn_state->base.content_type != old_conn_state->base.content_type || in intel_digital_connector_atomic_check()
143 new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode || in intel_digital_connector_atomic_check()
144 new_conn_state->base.privacy_screen_sw_state != old_conn_state->base.privacy_screen_sw_state || in intel_digital_connector_atomic_check()
182 const struct drm_connector_state *old_conn_state, *new_conn_state; in intel_connector_needs_modeset() local
184 old_conn_state = drm_atomic_get_old_connector_state(&state->base, connector); in intel_connector_needs_modeset()
[all …]
H A Dintel_dp_tunnel.c434 const struct intel_digital_connector_state *old_conn_state) in check_inherited_tunnel_state() argument
439 to_intel_connector(old_conn_state->base.connector); in check_inherited_tunnel_state()
454 if (!old_conn_state->base.crtc) in check_inherited_tunnel_state()
457 old_crtc = to_intel_crtc(old_conn_state->base.crtc); in check_inherited_tunnel_state()
583 const struct intel_digital_connector_state *old_conn_state = in intel_dp_tunnel_atomic_check_state() local
589 if (old_conn_state->base.crtc) { in intel_dp_tunnel_atomic_check_state()
591 to_intel_crtc(old_conn_state->base.crtc)); in intel_dp_tunnel_atomic_check_state()
597 new_conn_state->base.crtc != old_conn_state->base.crtc) { in intel_dp_tunnel_atomic_check_state()
604 return check_inherited_tunnel_state(state, intel_dp, old_conn_state); in intel_dp_tunnel_atomic_check_state()
H A Dg4x_dp.c484 const struct drm_connector_state *old_conn_state) in g4x_dp_audio_disable() argument
492 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in g4x_dp_audio_disable()
502 const struct drm_connector_state *old_conn_state) in intel_disable_dp() argument
513 intel_edp_backlight_off(old_conn_state); in intel_disable_dp()
521 const struct drm_connector_state *old_conn_state) in g4x_disable_dp() argument
523 intel_disable_dp(state, encoder, old_crtc_state, old_conn_state); in g4x_disable_dp()
529 const struct drm_connector_state *old_conn_state) in vlv_disable_dp() argument
531 intel_disable_dp(state, encoder, old_crtc_state, old_conn_state); in vlv_disable_dp()
537 const struct drm_connector_state *old_conn_state) in g4x_post_disable_dp() argument
558 const struct drm_connector_state *old_conn_state) in vlv_post_disable_dp() argument
[all …]
H A Dintel_lvds.c342 const struct drm_connector_state *old_conn_state) in intel_disable_lvds() argument
359 const struct drm_connector_state *old_conn_state) in gmch_disable_lvds() argument
362 intel_backlight_disable(old_conn_state); in gmch_disable_lvds()
364 intel_disable_lvds(state, encoder, old_crtc_state, old_conn_state); in gmch_disable_lvds()
370 const struct drm_connector_state *old_conn_state) in pch_disable_lvds() argument
372 intel_backlight_disable(old_conn_state); in pch_disable_lvds()
378 const struct drm_connector_state *old_conn_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.h25 const struct drm_connector_state *old_conn_state);
H A Dintel_backlight.h29 void intel_backlight_disable(const struct drm_connector_state *old_conn_state);
H A Dintel_display.c875 const struct drm_connector_state *old_conn_state; in intel_encoders_audio_disable() local
879 for_each_old_connector_in_state(&state->base, conn, old_conn_state, i) { in intel_encoders_audio_disable()
881 to_intel_encoder(old_conn_state->best_encoder); in intel_encoders_audio_disable()
883 if (old_conn_state->crtc != &crtc->base) in intel_encoders_audio_disable()
887 encoder->audio_disable(encoder, old_crtc_state, old_conn_state); in intel_encoders_audio_disable()
1409 const struct drm_connector_state *old_conn_state; in intel_encoders_disable() local
1413 for_each_old_connector_in_state(&state->base, conn, old_conn_state, i) { in intel_encoders_disable()
1415 to_intel_encoder(old_conn_state->best_encoder); in intel_encoders_disable()
1417 if (old_conn_state->crtc != &crtc->base) in intel_encoders_disable()
1423 old_crtc_state, old_conn_state); in intel_encoders_disable()
[all …]
H A Dintel_sdvo.c1804 const struct drm_connector_state *old_conn_state) in intel_sdvo_disable_audio() argument
1883 const struct drm_connector_state *old_conn_state) in pch_disable_sdvo() argument
1890 const struct drm_connector_state *old_conn_state) in pch_post_disable_sdvo() argument
1892 intel_disable_sdvo(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_sdvo()
2519 struct drm_connector_state *old_conn_state = in intel_sdvo_atomic_check() local
2522 to_intel_sdvo_connector_state(old_conn_state); in intel_sdvo_atomic_check()
2528 memcmp(&old_conn_state->tv, &new_conn_state->tv, sizeof(old_conn_state->tv)))) { in intel_sdvo_atomic_check()
H A Dicl_dsi.c1439 const struct drm_connector_state *old_conn_state) in gen11_dsi_disable() argument
1443 intel_panel_unprepare(old_conn_state); in gen11_dsi_disable()
1447 intel_backlight_disable(old_conn_state); in gen11_dsi_disable()
1453 const struct drm_connector_state *old_conn_state) in gen11_dsi_post_disable() argument
H A Dintel_dvo.c188 const struct drm_connector_state *old_conn_state) in intel_disable_dvo() argument
H A Dintel_dp.c3661 void intel_edp_backlight_off(const struct drm_connector_state *old_conn_state) in intel_edp_backlight_off() argument
3663 struct intel_dp *intel_dp = enc_to_intel_dp(to_intel_encoder(old_conn_state->best_encoder)); in intel_edp_backlight_off()
3672 intel_backlight_disable(old_conn_state); in intel_edp_backlight_off()
3745 struct drm_connector_state *old_conn_state; in intel_dp_dsc_aux_ref_count() local
3758 old_conn_state, new_conn_state, i) { in intel_dp_dsc_aux_ref_count()
3770 (!for_get_ref && !old_conn_state->crtc)); in intel_dp_dsc_aux_ref_count()
6712 const struct drm_connector_state *old_conn_state = in intel_modeset_synced_crtcs() local
6718 crtc = to_intel_crtc(old_conn_state->crtc); in intel_modeset_synced_crtcs()
H A Dintel_display_types.h219 const struct drm_connector_state *old_conn_state);
H A Dintel_tv.c944 const struct drm_connector_state *old_conn_state) in intel_disable_tv() argument
/linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.c1180 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_atomic_helper_commit_encoder_bridge_disable() local
1184 for_each_oldnew_connector_in_state(state, connector, old_conn_state, new_conn_state, i) { in drm_atomic_helper_commit_encoder_bridge_disable()
1193 if (!old_conn_state->crtc) in drm_atomic_helper_commit_encoder_bridge_disable()
1196 old_crtc_state = drm_atomic_get_old_crtc_state(state, old_conn_state->crtc); in drm_atomic_helper_commit_encoder_bridge_disable()
1206 !drm_atomic_crtc_needs_modeset(old_conn_state->crtc->state)) in drm_atomic_helper_commit_encoder_bridge_disable()
1209 encoder = old_conn_state->best_encoder; in drm_atomic_helper_commit_encoder_bridge_disable()
1319 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_atomic_helper_commit_encoder_bridge_post_disable() local
1323 for_each_oldnew_connector_in_state(state, connector, old_conn_state, new_conn_state, i) { in drm_atomic_helper_commit_encoder_bridge_post_disable()
1331 if (!old_conn_state->crtc) in drm_atomic_helper_commit_encoder_bridge_post_disable()
1334 old_crtc_state = drm_atomic_get_old_crtc_state(state, old_conn_state->crtc); in drm_atomic_helper_commit_encoder_bridge_post_disable()
[all …]
/linux/drivers/gpu/drm/tests/
H A Ddrm_atomic_state_test.c201 struct drm_connector_state *new_conn_state, *old_conn_state; in drm_test_check_connector_changed_modeset() local
229 old_conn_state = drm_atomic_get_connector_state(state, old_conn); in drm_test_check_connector_changed_modeset()
230 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, old_conn_state); in drm_test_check_connector_changed_modeset()
232 ret = drm_atomic_set_crtc_for_connector(old_conn_state, NULL); in drm_test_check_connector_changed_modeset()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c9511 struct drm_connector_state *old_conn_state, in is_content_protection_different() argument
9521 old_conn_state->content_protection, new_conn_state->content_protection); in is_content_protection_different()
9540 if (old_conn_state->hdcp_content_type != new_conn_state->hdcp_content_type && in is_content_protection_different()
9548 if (old_conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_ENABLED && in is_content_protection_different()
9564 if (old_conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_UNDESIRED && in is_content_protection_different()
9576 if (!(old_conn_state->crtc && old_conn_state->crtc->enabled) && in is_content_protection_different()
9602 if (old_conn_state->content_protection == new_conn_state->content_protection) { in is_content_protection_different()
12310 struct drm_connector_state *conn_state, *old_conn_state; in add_affected_mst_dsc_crtcs() local
12314 for_each_oldnew_connector_in_state(state, connector, old_conn_state, conn_state, i) { in add_affected_mst_dsc_crtcs()
12316 conn_state = old_conn_state; in add_affected_mst_dsc_crtcs()