Lines Matching defs:state
649 encoder = connector->state->best_encoder;
650 if (!encoder || drm_WARN_ON(dev, !connector->state->crtc)) {
663 new_crtc = connector->state->crtc;
711 * This is crtc->mode and not crtc->state->mode for the
716 modes[i] = &connector->state->crtc->mode;
732 connector->state->crtc->base.id,
733 connector->state->crtc->name,
997 struct drm_atomic_state *state;
1004 state = drm_atomic_state_alloc(dev);
1005 if (!state) {
1010 state->acquire_ctx = &ctx;
1015 plane_state = drm_atomic_get_plane_state(state, plane);
1039 /* Cannot fail as we've already gotten the plane state above */
1040 plane_state = drm_atomic_get_new_plane_state(state, primary);
1044 ret = __drm_atomic_helper_set_config(mode_set, state);
1054 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state, crtc);
1061 ret = drm_atomic_check_only(state);
1063 ret = drm_atomic_commit(state);
1069 drm_atomic_state_put(state);
1077 drm_atomic_state_clear(state);