drm/hdlcd: Fix up crtc_state->event handling
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 31 May 2016 16:21:13 +0000 (18:21 +0200)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Thu, 2 Jun 2016 16:44:05 +0000 (17:44 +0100)
commit38c8c22c12e99b70fc59ea7ef4d0bb24c11e5ddd
tree6a739e94f0bbc1345acdef66852dea959961d8c8
parenta95acec16d932ac78c2f70dc95a83bd162595d6c
drm/hdlcd: Fix up crtc_state->event handling

event_list just reimplemented what drm_crtc_arm_vblank_event does. And
we also need to send out drm events when shutting down a pipe.

With this it's possible to use the new nonblocking commit support in
the helpers.

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/gpu/drm/arm/hdlcd_crtc.c
drivers/gpu/drm/arm/hdlcd_drv.c
drivers/gpu/drm/arm/hdlcd_drv.h