Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/
Ddrm_atomic_helper.c114 struct drm_connector_state *new_conn_state; in handle_conflicting_encoders() local
126 for_each_new_connector_in_state(state, connector, new_conn_state, i) { in handle_conflicting_encoders()
130 if (!new_conn_state->crtc) in handle_conflicting_encoders()
134 new_encoder = funcs->atomic_best_encoder(connector, new_conn_state); in handle_conflicting_encoders()
188 new_conn_state = drm_atomic_get_connector_state(state, connector); in handle_conflicting_encoders()
189 if (IS_ERR(new_conn_state)) { in handle_conflicting_encoders()
190 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()
[all …]
Ddrm_atomic.c1289 struct drm_connector_state *new_conn_state; in update_output_state() local
1302 for_each_new_connector_in_state(state, connector, new_conn_state, i) { in update_output_state()
1303 if (new_conn_state->crtc == set->crtc) { in update_output_state()
1304 ret = drm_atomic_set_crtc_for_connector(new_conn_state, in update_output_state()
1310 new_conn_state->link_status = DRM_LINK_STATUS_GOOD; in update_output_state()
1316 new_conn_state = drm_atomic_get_connector_state(state, in update_output_state()
1318 if (IS_ERR(new_conn_state)) in update_output_state()
1319 return PTR_ERR(new_conn_state); in update_output_state()
1321 ret = drm_atomic_set_crtc_for_connector(new_conn_state, in update_output_state()
Ddrm_atomic_uapi.c917 struct drm_connector_state *new_conn_state; in drm_atomic_connector_commit_dpms() local
945 for_each_new_connector_in_state(state, tmp_connector, new_conn_state, i) { in drm_atomic_connector_commit_dpms()
946 if (new_conn_state->crtc != crtc) in drm_atomic_connector_commit_dpms()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_atomic.c123 struct intel_digital_connector_state *new_conn_state = in intel_digital_connector_atomic_check() local
142 if (new_conn_state->force_audio != old_conn_state->force_audio || in intel_digital_connector_atomic_check()
143 new_conn_state->broadcast_rgb != old_conn_state->broadcast_rgb || in intel_digital_connector_atomic_check()
144 new_conn_state->base.colorspace != old_conn_state->base.colorspace || in intel_digital_connector_atomic_check()
145 new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || in intel_digital_connector_atomic_check()
146 new_conn_state->base.content_type != old_conn_state->base.content_type || in intel_digital_connector_atomic_check()
147 new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode || in intel_digital_connector_atomic_check()
148 !blob_equal(new_conn_state->base.hdr_output_metadata, in intel_digital_connector_atomic_check()
Dintel_dp_mst.c164 struct drm_connector_state *new_conn_state = in intel_dp_mst_atomic_check() local
170 struct drm_crtc *new_crtc = new_conn_state->crtc; in intel_dp_mst_atomic_check()
Dintel_sdvo.c2432 struct drm_connector_state *new_conn_state = in intel_sdvo_atomic_check() local
2439 to_intel_sdvo_connector_state(new_conn_state); in intel_sdvo_atomic_check()
2441 if (new_conn_state->crtc && in intel_sdvo_atomic_check()
2443 memcmp(&old_conn_state->tv, &new_conn_state->tv, sizeof(old_conn_state->tv)))) { in intel_sdvo_atomic_check()
2446 new_conn_state->crtc); in intel_sdvo_atomic_check()
Dintel_display.c6089 const struct drm_connector_state *new_conn_state) in intel_connector_needs_modeset() argument
6093 struct intel_crtc *new_crtc = new_conn_state->crtc ? in intel_connector_needs_modeset()
6094 to_intel_crtc(new_conn_state->crtc) : NULL; in intel_connector_needs_modeset()
6104 struct drm_connector_state *new_conn_state; in intel_encoders_update_prepare() local
6109 old_conn_state, new_conn_state, i) { in intel_encoders_update_prepare()
6115 new_conn_state)) in intel_encoders_update_prepare()
6122 crtc = new_conn_state->crtc ? in intel_encoders_update_prepare()
6123 to_intel_crtc(new_conn_state->crtc) : NULL; in intel_encoders_update_prepare()
6131 struct drm_connector_state *new_conn_state; in intel_encoders_update_complete() local
6136 old_conn_state, new_conn_state, i) { in intel_encoders_update_complete()
[all …]
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv50/
Ddisp.c964 struct drm_connector_state *new_conn_state = in nv50_mstc_atomic_check() local
969 struct drm_crtc *new_crtc = new_conn_state->crtc; in nv50_mstc_atomic_check()