Lines Matching defs:state
17 struct vkms_crtc_state *state;
33 state = output->composer_state;
36 if (state && output->composer_enabled) {
43 if (!state->crc_pending)
44 state->frame_start = frame;
47 state->frame_start, frame);
48 state->frame_end = frame;
49 state->crc_pending = true;
52 ret = queue_work(output->composer_workq, &state->composer_work);
123 if (WARN_ON(!crtc->state))
138 struct drm_crtc_state *state)
140 struct vkms_crtc_state *vkms_state = to_vkms_crtc_state(state);
142 __drm_atomic_helper_crtc_destroy_state(state);
154 if (crtc->state)
155 vkms_atomic_crtc_destroy_state(crtc, crtc->state);
177 struct drm_atomic_state *state)
179 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state,
189 ret = drm_atomic_add_affected_planes(crtc_state->state, crtc);
194 plane_state = drm_atomic_get_existing_plane_state(crtc_state->state,
211 plane_state = drm_atomic_get_existing_plane_state(crtc_state->state,
225 struct drm_atomic_state *state)
231 struct drm_atomic_state *state)
237 struct drm_atomic_state *state)
248 struct drm_atomic_state *state)
252 if (crtc->state->event) {
256 drm_crtc_send_vblank_event(crtc, crtc->state->event);
258 drm_crtc_arm_vblank_event(crtc, crtc->state->event);
262 crtc->state->event = NULL;
265 vkms_output->composer_state = to_vkms_crtc_state(crtc->state);