Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/gpu/drm/i915/display/
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 …]
Dg4x_hdmi.c371 const struct drm_connector_state *old_conn_state) in intel_disable_hdmi() argument
422 old_crtc_state, old_conn_state); in intel_disable_hdmi()
430 const struct drm_connector_state *old_conn_state) in g4x_disable_hdmi() argument
432 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in g4x_disable_hdmi()
434 intel_disable_hdmi(state, encoder, old_crtc_state, old_conn_state); in g4x_disable_hdmi()
440 const struct drm_connector_state *old_conn_state) in pch_disable_hdmi() argument
442 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in pch_disable_hdmi()
448 const struct drm_connector_state *old_conn_state) in pch_post_disable_hdmi() argument
450 intel_disable_hdmi(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_hdmi()
515 const struct drm_connector_state *old_conn_state) in chv_hdmi_post_pll_disable() argument
[all …]
Dintel_backlight.c332 static void lpt_disable_backlight(const struct drm_connector_state *old_conn_state, u32 level) in lpt_disable_backlight() argument
334 struct intel_connector *connector = to_intel_connector(old_conn_state->connector); in lpt_disable_backlight()
338 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()
363 intel_backlight_set_pwm_level(old_conn_state, val); in pch_disable_backlight()
370 static void i9xx_disable_backlight(const struct drm_connector_state *old_conn_state, u32 val) in i9xx_disable_backlight() argument
372 intel_backlight_set_pwm_level(old_conn_state, val); in i9xx_disable_backlight()
375 static void i965_disable_backlight(const struct drm_connector_state *old_conn_state, u32 val) in i965_disable_backlight() argument
377 struct drm_i915_private *i915 = to_i915(old_conn_state->connector->dev); in i965_disable_backlight()
[all …]
Dintel_pmdemand.c195 struct drm_connector_state *old_conn_state; in intel_pmdemand_update_active_non_tc_phys() local
201 old_conn_state, new_conn_state, i) { in intel_pmdemand_update_active_non_tc_phys()
207 old_conn_state, false, in intel_pmdemand_update_active_non_tc_phys()
239 struct drm_connector_state *old_conn_state; in intel_pmdemand_connector_needs_update() local
245 old_conn_state, new_conn_state, i) { in intel_pmdemand_connector_needs_update()
247 to_intel_encoder(old_conn_state->best_encoder); in intel_pmdemand_connector_needs_update()
Dintel_lvds.c337 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()
Dg4x_dp.c475 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 …]
Dintel_modeset_verify.c113 struct drm_connector_state *old_conn_state, *new_conn_state; in verify_encoder_state() local
124 for_each_oldnew_connector_in_state(&state->base, connector, old_conn_state, in verify_encoder_state()
126 if (old_conn_state->best_encoder == &encoder->base) in verify_encoder_state()
Dintel_crt.c218 const struct drm_connector_state *old_conn_state) in intel_disable_crt() argument
226 const struct drm_connector_state *old_conn_state) in pch_disable_crt() argument
233 const struct drm_connector_state *old_conn_state) in pch_post_disable_crt() argument
235 intel_disable_crt(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_crt()
241 const struct drm_connector_state *old_conn_state) in hsw_disable_crt() argument
253 const struct drm_connector_state *old_conn_state) in hsw_post_disable_crt() argument
268 pch_post_disable_crt(state, encoder, old_crtc_state, old_conn_state); in hsw_post_disable_crt()
Dintel_audio.h25 const struct drm_connector_state *old_conn_state);
Dintel_backlight.h29 void intel_backlight_disable(const struct drm_connector_state *old_conn_state);
Dintel_dp_mst.c553 const struct drm_connector_state *old_conn_state) in intel_mst_disable_dp() argument
559 to_intel_connector(old_conn_state->connector); in intel_mst_disable_dp()
578 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in intel_mst_disable_dp()
584 const struct drm_connector_state *old_conn_state) in intel_mst_post_disable_dp() argument
590 to_intel_connector(old_conn_state->connector); in intel_mst_post_disable_dp()
655 const struct drm_connector_state *old_conn_state) in intel_mst_post_pll_disable_dp() argument
663 dig_port->base.post_pll_disable(state, encoder, old_crtc_state, old_conn_state); in intel_mst_post_pll_disable_dp()
Dintel_audio.c73 const struct drm_connector_state *old_conn_state);
342 const struct drm_connector_state *old_conn_state) in g4x_audio_codec_disable() argument
486 const struct drm_connector_state *old_conn_state) in hsw_audio_codec_disable() argument
688 const struct drm_connector_state *old_conn_state) in ibx_audio_codec_disable() argument
867 const struct drm_connector_state *old_conn_state) in intel_audio_codec_disable() argument
872 struct intel_connector *connector = to_intel_connector(old_conn_state->connector); in intel_audio_codec_disable()
888 old_conn_state); in intel_audio_codec_disable()
Dintel_ddi.h33 const struct drm_connector_state *old_conn_state);
Dintel_dp_aux_backlight.c377 static void intel_dp_aux_vesa_disable_backlight(const struct drm_connector_state *old_conn_state, in intel_dp_aux_vesa_disable_backlight() argument
380 struct intel_connector *connector = to_intel_connector(old_conn_state->connector); in intel_dp_aux_vesa_disable_backlight()
387 panel->backlight.pwm_funcs->disable(old_conn_state, in intel_dp_aux_vesa_disable_backlight()
Dintel_ddi.c2894 const struct drm_connector_state *old_conn_state) in intel_ddi_post_disable_dp() argument
2905 old_crtc_state, old_conn_state); in intel_ddi_post_disable_dp()
2957 const struct drm_connector_state *old_conn_state) in intel_ddi_post_disable_hdmi() argument
2965 old_crtc_state, old_conn_state); in intel_ddi_post_disable_hdmi()
2989 const struct drm_connector_state *old_conn_state) in intel_ddi_post_disable() argument
3035 old_conn_state); in intel_ddi_post_disable()
3038 old_conn_state); in intel_ddi_post_disable()
3044 const struct drm_connector_state *old_conn_state) in intel_ddi_post_pll_disable() argument
3271 const struct drm_connector_state *old_conn_state) in intel_disable_ddi_dp() argument
3277 intel_audio_codec_disable(encoder, old_crtc_state, old_conn_state); in intel_disable_ddi_dp()
[all …]
Dintel_sdvo.c1850 const struct drm_connector_state *old_conn_state) in pch_disable_sdvo() argument
1857 const struct drm_connector_state *old_conn_state) in pch_post_disable_sdvo() argument
1859 intel_disable_sdvo(state, encoder, old_crtc_state, old_conn_state); in pch_post_disable_sdvo()
2516 struct drm_connector_state *old_conn_state = in intel_sdvo_atomic_check() local
2519 to_intel_sdvo_connector_state(old_conn_state); in intel_sdvo_atomic_check()
2525 memcmp(&old_conn_state->tv, &new_conn_state->tv, sizeof(old_conn_state->tv)))) { in intel_sdvo_atomic_check()
Dintel_display.c1267 const struct drm_connector_state *old_conn_state; in intel_encoders_disable() local
1271 for_each_old_connector_in_state(&state->base, conn, old_conn_state, i) { in intel_encoders_disable()
1273 to_intel_encoder(old_conn_state->best_encoder); in intel_encoders_disable()
1275 if (old_conn_state->crtc != &crtc->base) in intel_encoders_disable()
1281 old_crtc_state, old_conn_state); in intel_encoders_disable()
1290 const struct drm_connector_state *old_conn_state; in intel_encoders_post_disable() local
1294 for_each_old_connector_in_state(&state->base, conn, old_conn_state, i) { in intel_encoders_post_disable()
1296 to_intel_encoder(old_conn_state->best_encoder); in intel_encoders_post_disable()
1298 if (old_conn_state->crtc != &crtc->base) in intel_encoders_post_disable()
1303 old_crtc_state, old_conn_state); in intel_encoders_post_disable()
[all …]
Dintel_dvo.c184 const struct drm_connector_state *old_conn_state) in intel_disable_dvo() argument
Dvlv_dsi.c830 const struct drm_connector_state *old_conn_state) in intel_dsi_disable() argument
839 intel_backlight_disable(old_conn_state); in intel_dsi_disable()
867 const struct drm_connector_state *old_conn_state) in intel_dsi_post_disable() argument
Dicl_dsi.c1390 const struct drm_connector_state *old_conn_state) in gen11_dsi_disable() argument
1396 intel_backlight_disable(old_conn_state); in gen11_dsi_disable()
1402 const struct drm_connector_state *old_conn_state) in gen11_dsi_post_disable() argument
/Linux-v6.6/drivers/gpu/drm/
Ddrm_atomic_state_helper.c573 struct drm_connector_state *old_conn_state = in drm_atomic_helper_connector_tv_check() local
588 if (old_conn_state->tv.mode != new_conn_state->tv.mode) in drm_atomic_helper_connector_tv_check()
591 if (old_conn_state->tv.margins.left != new_conn_state->tv.margins.left || in drm_atomic_helper_connector_tv_check()
592 old_conn_state->tv.margins.right != new_conn_state->tv.margins.right || in drm_atomic_helper_connector_tv_check()
593 old_conn_state->tv.margins.top != new_conn_state->tv.margins.top || in drm_atomic_helper_connector_tv_check()
594 old_conn_state->tv.margins.bottom != new_conn_state->tv.margins.bottom || in drm_atomic_helper_connector_tv_check()
595 old_conn_state->tv.mode != new_conn_state->tv.mode || in drm_atomic_helper_connector_tv_check()
596 old_conn_state->tv.brightness != new_conn_state->tv.brightness || in drm_atomic_helper_connector_tv_check()
597 old_conn_state->tv.contrast != new_conn_state->tv.contrast || in drm_atomic_helper_connector_tv_check()
598 old_conn_state->tv.flicker_reduction != new_conn_state->tv.flicker_reduction || in drm_atomic_helper_connector_tv_check()
[all …]
Ddrm_atomic_helper.c1125 struct drm_connector_state *old_conn_state, *new_conn_state; in disable_outputs() local
1130 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in disable_outputs()
1139 if (!old_conn_state->crtc) in disable_outputs()
1142 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs()
1152 !drm_atomic_crtc_needs_modeset(old_conn_state->crtc->state)) in disable_outputs()
1155 encoder = old_conn_state->best_encoder; in disable_outputs()
1258 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_atomic_helper_update_legacy_modeset_state() local
1264 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in drm_atomic_helper_update_legacy_modeset_state()
1273 if ((!crtc && old_conn_state->crtc) || in drm_atomic_helper_update_legacy_modeset_state()
2276 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_atomic_helper_setup_commit() local
[all …]
/Linux-v6.6/drivers/gpu/drm/meson/
Dmeson_encoder_hdmi.c308 struct drm_connector_state *old_conn_state = in meson_encoder_hdmi_atomic_check() local
316 if (!drm_connector_atomic_hdr_metadata_equal(old_conn_state, conn_state)) in meson_encoder_hdmi_atomic_check()
/Linux-v6.6/drivers/gpu/drm/display/
Ddrm_dp_mst_topology.c4373 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_dp_atomic_release_time_slots() local
4376 old_conn_state = drm_atomic_get_old_connector_state(state, port->connector); in drm_dp_atomic_release_time_slots()
4377 if (!old_conn_state->crtc) in drm_dp_atomic_release_time_slots()
4398 topology_state->pending_crtc_mask |= drm_crtc_mask(old_conn_state->crtc); in drm_dp_atomic_release_time_slots()
4540 struct drm_connector_state *old_conn_state = in drm_dp_mst_root_conn_atomic_check() local
4556 if (old_conn_state->crtc) { in drm_dp_mst_root_conn_atomic_check()
4557 crtc_state = drm_atomic_get_new_crtc_state(state, old_conn_state->crtc); in drm_dp_mst_root_conn_atomic_check()
4565 mst_state->pending_crtc_mask |= drm_crtc_mask(old_conn_state->crtc); in drm_dp_mst_root_conn_atomic_check()
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c7685 struct drm_connector_state *old_conn_state, in is_content_protection_different() argument
7695 old_conn_state->content_protection, new_conn_state->content_protection); in is_content_protection_different()
7714 if (old_conn_state->hdcp_content_type != new_conn_state->hdcp_content_type && in is_content_protection_different()
7722 if (old_conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_ENABLED && in is_content_protection_different()
7738 if (old_conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_UNDESIRED && in is_content_protection_different()
7750 if (!(old_conn_state->crtc && old_conn_state->crtc->enabled) && in is_content_protection_different()
7776 if (old_conn_state->content_protection == new_conn_state->content_protection) { in is_content_protection_different()
9956 struct drm_connector_state *conn_state, *old_conn_state; in add_affected_mst_dsc_crtcs() local
9960 for_each_oldnew_connector_in_state(state, connector, old_conn_state, conn_state, i) { in add_affected_mst_dsc_crtcs()
9962 conn_state = old_conn_state; in add_affected_mst_dsc_crtcs()

12