[PATCH 01/15] drm/vblank: Use drm_event_reserve_init

2016-01-25 Thread Daniel Vetter
On Mon, Jan 25, 2016 at 10:16:42PM +0100, Daniel Vetter wrote: > Well we can't use that directly since that code must hold > dev->event_lock already. Extract an _unlocked version. > > Embarrassingly I've totally forgotten about this patch and any kind of > event-based vblank wait totally blew up,

[PATCH 01/15] drm/vblank: Use drm_event_reserve_init

2016-01-25 Thread Daniel Vetter
Well we can't use that directly since that code must hold dev->event_lock already. Extract an _unlocked version. Embarrassingly I've totally forgotten about this patch and any kind of event-based vblank wait totally blew up, killing the kernel. Cc: Alex Deucher Cc: Daniel Stone Cc: Laurent Pinc