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>
This commit is contained in:
Daniel Vetter
2016-05-31 18:21:13 +02:00
committed by Liviu Dudau
parent a95acec16d
commit 38c8c22c12
3 changed files with 9 additions and 29 deletions

View File

@@ -10,7 +10,6 @@ struct hdlcd_drm_private {
struct clk *clk;
struct drm_fbdev_cma *fbdev;
struct drm_framebuffer *fb;
struct list_head event_list;
struct drm_crtc crtc;
struct drm_plane *plane;
struct drm_atomic_state *state;