Lines Matching refs:state
41 if (!crtc->state->active)
52 if (!crtc->state->active)
131 static bool can_do_async(struct drm_atomic_state *state,
140 if (!(state->legacy_cursor_update || state->async_update))
144 for_each_new_connector_in_state(state, connector, connector_state, i)
147 for_each_new_crtc_in_state(state, crtc, crtc_state, i) {
160 * effected crtcs without needing to preserve the atomic state.
162 static unsigned get_crtc_mask(struct drm_atomic_state *state)
168 for_each_new_crtc_in_state(state, crtc, crtc_state, i)
174 void msm_atomic_commit_tail(struct drm_atomic_state *state)
176 struct drm_device *dev = state->dev;
180 unsigned crtc_mask = get_crtc_mask(state);
182 can_do_async(state, &async_crtc);
202 kms->funcs->prepare_commit(kms, state);
207 drm_atomic_helper_commit_modeset_disables(dev, state);
208 drm_atomic_helper_commit_planes(dev, state, 0);
209 drm_atomic_helper_commit_modeset_enables(dev, state);
242 drm_atomic_helper_commit_hw_done(state);
243 drm_atomic_helper_cleanup_planes(dev, state);
279 drm_atomic_helper_commit_hw_done(state);
280 drm_atomic_helper_cleanup_planes(dev, state);