Re: [Intel-gfx] [PATCH] drm/atomic: Handle vblank events in atomic ioctl correctly.
Hi, On 1 June 2015 at 19:12, Maarten Lankhorst wrote: > drm_framebuffer_reference(new_fb); > plane->fb = new_fb; > plane->crtc = plane->state->crtc; > + drm_framebuffer_unreference(plane->old_fb)
[Intel-gfx] [PATCH] drm/atomic: Handle vblank events in atomic ioctl correctly.
All users of async updates seem to clear clear crtc_state->event correctly, so move destroying vblank event to crtc_destroy_state. This is better than manually free'ing it in the atomic ioctl, since this code seems to do it wrong. While we're at it handle -EDEADLK from atomic_commit correctly, be