Lines Matching refs:state

24 	struct drm_atomic_state *state;  member
62 static struct msm_commit *commit_init(struct drm_atomic_state *state) in commit_init() argument
69 c->dev = state->dev; in commit_init()
70 c->state = state; in commit_init()
92 struct drm_atomic_state *state = c->state; in complete_commit() local
93 struct drm_device *dev = state->dev; in complete_commit()
97 kms->funcs->prepare_commit(kms, state); in complete_commit()
99 drm_atomic_helper_commit_modeset_disables(dev, state); in complete_commit()
101 drm_atomic_helper_commit_planes(dev, state); in complete_commit()
103 drm_atomic_helper_commit_modeset_enables(dev, state); in complete_commit()
118 drm_atomic_helper_wait_for_vblanks(dev, state); in complete_commit()
120 drm_atomic_helper_cleanup_planes(dev, state); in complete_commit()
122 kms->funcs->complete_commit(kms, state); in complete_commit()
124 drm_atomic_state_free(state); in complete_commit()
144 struct drm_atomic_state *state) in msm_atomic_check() argument
152 ret = drm_atomic_helper_check_planes(dev, state); in msm_atomic_check()
156 ret = drm_atomic_helper_check_modeset(dev, state); in msm_atomic_check()
177 struct drm_atomic_state *state, bool async) in msm_atomic_commit() argument
185 ret = drm_atomic_helper_prepare_planes(dev, state); in msm_atomic_commit()
189 c = commit_init(state); in msm_atomic_commit()
197 struct drm_crtc *crtc = state->crtcs[i]; in msm_atomic_commit()
207 struct drm_plane *plane = state->planes[i]; in msm_atomic_commit()
208 struct drm_plane_state *new_state = state->plane_states[i]; in msm_atomic_commit()
213 if ((plane->state->fb != new_state->fb) && new_state->fb) in msm_atomic_commit()
233 drm_atomic_helper_swap_state(dev, state); in msm_atomic_commit()