Lines Matching refs:state
66 if (!crtc->state->color_mgmt_changed)
69 if (!crtc->state->gamma_lut) {
75 to_malidp_crtc_state(crtc->state);
77 if (!old_state->gamma_lut || (crtc->state->gamma_lut->base.id !=
94 if (!crtc->state->color_mgmt_changed)
97 if (!crtc->state->ctm) {
102 to_malidp_crtc_state(crtc->state);
104 if (!old_state->ctm || (crtc->state->ctm->base.id !=
120 struct malidp_crtc_state *cs = to_malidp_crtc_state(crtc->state);
189 static void malidp_atomic_commit_hw_done(struct drm_atomic_state *state)
191 struct drm_device *drm = state->dev;
195 malidp->event = malidp->crtc.state->event;
196 malidp->crtc.state->event = NULL;
198 if (malidp->crtc.state->active) {
227 drm_atomic_helper_commit_hw_done(state);
230 static void malidp_atomic_commit_tail(struct drm_atomic_state *state)
232 struct drm_device *drm = state->dev;
247 drm_atomic_helper_commit_modeset_disables(drm, state);
249 for_each_old_crtc_in_state(state, crtc, old_crtc_state, i) {
255 drm_atomic_helper_commit_planes(drm, state, DRM_PLANE_COMMIT_ACTIVE_ONLY);
257 malidp_mw_atomic_commit(drm, state);
259 drm_atomic_helper_commit_modeset_enables(drm, state);
261 malidp_atomic_commit_hw_done(state);
265 drm_atomic_helper_cleanup_planes(drm, state);