Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/
Ddrm_atomic_helper.c97 struct drm_connector_state *new_conn_state; in handle_conflicting_encoders() local
109 for_each_new_connector_in_state(state, connector, new_conn_state, i) { in handle_conflicting_encoders()
113 if (!new_conn_state->crtc) in handle_conflicting_encoders()
117 new_encoder = funcs->atomic_best_encoder(connector, new_conn_state); in handle_conflicting_encoders()
171 new_conn_state = drm_atomic_get_connector_state(state, connector); in handle_conflicting_encoders()
172 if (IS_ERR(new_conn_state)) { in handle_conflicting_encoders()
173 ret = PTR_ERR(new_conn_state); in handle_conflicting_encoders()
179 new_conn_state->crtc->base.id, new_conn_state->crtc->name, in handle_conflicting_encoders()
182 crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in handle_conflicting_encoders()
184 ret = drm_atomic_set_crtc_for_connector(new_conn_state, NULL); in handle_conflicting_encoders()
[all …]
Ddrm_atomic.c2176 struct drm_connector_state *new_conn_state; in drm_atomic_connector_commit_dpms() local
2204 for_each_new_connector_in_state(state, tmp_connector, new_conn_state, i) { in drm_atomic_connector_commit_dpms()
2205 if (new_conn_state->crtc != crtc) in drm_atomic_connector_commit_dpms()
/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_atomic.c107 struct intel_digital_connector_state *new_conn_state = in intel_digital_connector_atomic_check() local
126 if (new_conn_state->force_audio != old_conn_state->force_audio || in intel_digital_connector_atomic_check()
127 new_conn_state->broadcast_rgb != old_conn_state->broadcast_rgb || in intel_digital_connector_atomic_check()
128 new_conn_state->base.picture_aspect_ratio != old_conn_state->base.picture_aspect_ratio || in intel_digital_connector_atomic_check()
129 new_conn_state->base.content_type != old_conn_state->base.content_type || in intel_digital_connector_atomic_check()
130 new_conn_state->base.scaling_mode != old_conn_state->base.scaling_mode) in intel_digital_connector_atomic_check()
Dintel_sdvo.c2259 struct drm_connector_state *new_conn_state) in intel_sdvo_atomic_check() argument
2261 struct drm_atomic_state *state = new_conn_state->state; in intel_sdvo_atomic_check()
2267 to_intel_sdvo_connector_state(new_conn_state); in intel_sdvo_atomic_check()
2269 if (new_conn_state->crtc && in intel_sdvo_atomic_check()
2271 memcmp(&old_conn_state->tv, &new_conn_state->tv, sizeof(old_conn_state->tv)))) { in intel_sdvo_atomic_check()
2273 drm_atomic_get_new_crtc_state(new_conn_state->state, in intel_sdvo_atomic_check()
2274 new_conn_state->crtc); in intel_sdvo_atomic_check()
2279 return intel_digital_connector_atomic_check(conn, new_conn_state); in intel_sdvo_atomic_check()
Dintel_dp_mst.c104 struct drm_connector_state *new_conn_state) in intel_dp_mst_atomic_check() argument
106 struct drm_atomic_state *state = new_conn_state->state; in intel_dp_mst_atomic_check()
Dintel_display.c11748 struct drm_connector_state *new_conn_state; in verify_connector_state() local
11751 for_each_new_connector_in_state(state, connector, new_conn_state, i) { in verify_connector_state()
11755 if (new_conn_state->crtc != crtc) in verify_connector_state()
11759 crtc_state = drm_atomic_get_new_crtc_state(state, new_conn_state->crtc); in verify_connector_state()
11761 intel_connector_verify_state(crtc_state, new_conn_state); in verify_connector_state()
11763 I915_STATE_WARN(new_conn_state->best_encoder != encoder, in verify_connector_state()
11773 struct drm_connector_state *old_conn_state, *new_conn_state; in verify_encoder_state() local
11785 new_conn_state, i) { in verify_encoder_state()
11789 if (new_conn_state->best_encoder != &encoder->base) in verify_encoder_state()
11793 I915_STATE_WARN(new_conn_state->crtc != in verify_encoder_state()