Lines Matching refs:state
45 struct drm_atomic_state *state) in intel_atomic_check() argument
60 struct intel_plane *plane = to_intel_plane(state->planes[i]); in intel_atomic_check()
76 state->allow_modeset = false; in intel_atomic_check()
78 struct intel_crtc *crtc = to_intel_crtc(state->crtcs[i]); in intel_atomic_check()
83 if (state->connectors[i] != NULL) in intel_atomic_check()
91 ret = drm_atomic_helper_check_planes(dev, state); in intel_atomic_check()
116 struct drm_atomic_state *state, in intel_atomic_commit() argument
127 ret = drm_atomic_helper_prepare_planes(dev, state); in intel_atomic_commit()
149 struct drm_plane *plane = state->planes[i]; in intel_atomic_commit()
154 plane->state->state = state; in intel_atomic_commit()
155 swap(state->plane_states[i], plane->state); in intel_atomic_commit()
156 plane->state->state = NULL; in intel_atomic_commit()
158 drm_atomic_helper_commit_planes(dev, state); in intel_atomic_commit()
159 drm_atomic_helper_wait_for_vblanks(dev, state); in intel_atomic_commit()
160 drm_atomic_helper_cleanup_planes(dev, state); in intel_atomic_commit()
161 drm_atomic_state_free(state); in intel_atomic_commit()
179 const struct drm_connector_state *state, in intel_connector_atomic_get_property() argument
240 struct drm_crtc_state *state) in intel_crtc_destroy_state() argument
242 drm_atomic_helper_crtc_destroy_state(crtc, state); in intel_crtc_destroy_state()