drm: rcar-du: Handle event when disabling CRTCs
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Fri, 10 Feb 2017 11:30:35 +0000 (13:30 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 4 Apr 2017 14:03:45 +0000 (17:03 +0300)
commit6dd47cfd03a058d08b8caffb06194aa0eb109cf1
tree36c201c16d4877e758194f30b611d3a97d410eac
parent9e7d80e648793d5bf263a3ec9cfb1cf29b86a6e0
drm: rcar-du: Handle event when disabling CRTCs

The driver currently handles vblank events only when updating planes on
a CRTC. The atomic update API however allows requesting an event when
disabling a CRTC. This currently leads to event objects being leaked in
the kernel and to events not being sent out. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_crtc.c