Lines Matching refs:old_conn_state
1132 struct drm_connector_state *old_conn_state, *new_conn_state; in disable_outputs() local
1137 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in disable_outputs()
1146 if (!old_conn_state->crtc) in disable_outputs()
1149 old_crtc_state = drm_atomic_get_old_crtc_state(old_state, old_conn_state->crtc); in disable_outputs()
1159 !drm_atomic_crtc_needs_modeset(old_conn_state->crtc->state)) in disable_outputs()
1162 encoder = old_conn_state->best_encoder; in disable_outputs()
1256 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_atomic_helper_update_legacy_modeset_state() local
1262 for_each_oldnew_connector_in_state(old_state, connector, old_conn_state, new_conn_state, i) { in drm_atomic_helper_update_legacy_modeset_state()
1271 if ((!crtc && old_conn_state->crtc) || in drm_atomic_helper_update_legacy_modeset_state()
2231 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_atomic_helper_setup_commit() local
2288 for_each_oldnew_connector_in_state(state, conn, old_conn_state, new_conn_state, i) { in drm_atomic_helper_setup_commit()
2293 if (nonblock && old_conn_state->commit && in drm_atomic_helper_setup_commit()
2294 !try_wait_for_completion(&old_conn_state->commit->flip_done)) { in drm_atomic_helper_setup_commit()
2303 commit = crtc_or_fake_commit(state, new_conn_state->crtc ?: old_conn_state->crtc); in drm_atomic_helper_setup_commit()
2358 struct drm_connector_state *old_conn_state; in drm_atomic_helper_wait_for_dependencies() local
2370 for_each_old_connector_in_state(old_state, conn, old_conn_state, i) { in drm_atomic_helper_wait_for_dependencies()
2371 ret = drm_crtc_commit_wait(old_conn_state->commit); in drm_atomic_helper_wait_for_dependencies()
2907 struct drm_connector_state *old_conn_state, *new_conn_state; in drm_atomic_helper_swap_state() local
2937 for_each_old_connector_in_state(state, connector, old_conn_state, i) { in drm_atomic_helper_swap_state()
2938 commit = old_conn_state->commit; in drm_atomic_helper_swap_state()
2960 for_each_oldnew_connector_in_state(state, connector, old_conn_state, new_conn_state, i) { in drm_atomic_helper_swap_state()
2961 WARN_ON(connector->state != old_conn_state); in drm_atomic_helper_swap_state()
2963 old_conn_state->state = state; in drm_atomic_helper_swap_state()
2966 state->connectors[i].state = old_conn_state; in drm_atomic_helper_swap_state()