Daniel Vetter 4020b220ed drm/vblank: Use drm_event_reserve_init
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.

v2: Pick the right base struct, someone didn't noticed that gcc was
unhappy. No bug since the addresses at least matched (Daniel Stone)

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Daniel Stone <daniels@collabora.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453978864-1513-1-git-send-email-daniel.vetter@ffwll.ch
2016-02-08 09:54:54 +01:00
..
2016-01-14 08:07:55 +10:00
2016-01-25 19:34:43 +01:00
2016-01-25 19:35:04 +01:00
2015-12-15 13:39:40 +01:00
2016-01-28 10:28:15 +01:00
2015-12-08 16:07:53 +01:00
2015-12-15 10:22:26 +01:00
2015-12-15 10:22:26 +01:00
2016-01-13 16:43:07 +01:00