Home
last modified time | relevance | path

Searched refs:new_conn_state (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/drm/i915/display/
H A Dintel_atomic.c119 struct intel_digital_connector_state *new_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
185 new_conn_state = drm_atomic_get_new_connector_state(&state->base, connector); in intel_connector_needs_modeset()
[all …]
H A Dintel_dp_tunnel.c585 const struct intel_digital_connector_state *new_conn_state = in intel_dp_tunnel_atomic_check_state() local
596 if (new_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()
599 to_intel_crtc(new_conn_state->base.crtc)); in intel_dp_tunnel_atomic_check_state()
H A Dintel_sdvo.c2517 struct drm_connector_state *new_conn_state = in intel_sdvo_atomic_check() local
2524 to_intel_sdvo_connector_state(new_conn_state); in intel_sdvo_atomic_check()
2526 if (new_conn_state->crtc && 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()
2531 new_conn_state->crtc); in intel_sdvo_atomic_check()
H A Dintel_dp.c3746 struct drm_connector_state *new_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()
3769 (for_get_ref && !new_conn_state->crtc) || in intel_dp_dsc_aux_ref_count()
/linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.c110 struct drm_connector_state *new_conn_state; in handle_conflicting_encoders() local
122 for_each_new_connector_in_state(state, connector, new_conn_state, i) { in handle_conflicting_encoders()
126 if (!new_conn_state->crtc) in handle_conflicting_encoders()
187 new_conn_state = drm_atomic_get_connector_state(state, connector); in handle_conflicting_encoders()
188 if (IS_ERR(new_conn_state)) { in handle_conflicting_encoders()
189 ret = PTR_ERR(new_conn_state); in handle_conflicting_encoders()
196 new_conn_state->crtc->base.id, new_conn_state->crtc->name, in handle_conflicting_encoders()
199 crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in handle_conflicting_encoders()
201 ret = drm_atomic_set_crtc_for_connector(new_conn_state, NULL); in handle_conflicting_encoders()
424 struct drm_connector_state *new_conn_state; in mode_fixup() local
[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
226 new_conn_state = drm_atomic_get_connector_state(state, new_conn); in drm_test_check_connector_changed_modeset()
227 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, new_conn_state); in drm_test_check_connector_changed_modeset()
235 ret = drm_atomic_set_crtc_for_connector(new_conn_state, priv->crtc); in drm_test_check_connector_changed_modeset()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c1201 struct drm_connector_state *new_conn_state; in compute_mst_dsc_configs_for_link() local
1225 new_conn_state = drm_atomic_get_new_connector_state(state, &aconnector->base); in compute_mst_dsc_configs_for_link()
1227 if (!new_conn_state) { in compute_mst_dsc_configs_for_link()
1381 struct drm_connector_state *new_conn_state; in is_dsc_need_re_compute() local
1400 new_conn_state = drm_atomic_get_new_connector_state(state, &aconnector->base); in is_dsc_need_re_compute()
1401 if (!new_conn_state) { in is_dsc_need_re_compute()
1407 if (IS_ERR(new_conn_state)) in is_dsc_need_re_compute()
1410 if (!new_conn_state->crtc) in is_dsc_need_re_compute()
1413 new_crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in is_dsc_need_re_compute()
H A Damdgpu_dm.c9510 struct drm_connector_state *new_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()
9541 new_conn_state->content_protection != DRM_MODE_CONTENT_PROTECTION_UNDESIRED) { in is_content_protection_different()
9542 new_conn_state->content_protection = DRM_MODE_CONTENT_PROTECTION_DESIRED; in is_content_protection_different()
9549 new_conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_DESIRED) { in is_content_protection_different()
9551 new_conn_state->content_protection = DRM_MODE_CONTENT_PROTECTION_DESIRED; in is_content_protection_different()
9555 new_conn_state->content_protection = DRM_MODE_CONTENT_PROTECTION_ENABLED; in is_content_protection_different()
9565 new_conn_state->content_protection == DRM_MODE_CONTENT_PROTECTION_ENABLED) in is_content_protection_different()
9566 new_conn_state->content_protection = DRM_MODE_CONTENT_PROTECTION_DESIRED; in is_content_protection_different()
[all …]