]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfff625360aa95aedce6429ea66f896b85f52c4a5
tree36c201c16d4877e758194f30b611d3a97d410eac
parent0ab00b28420e3cf54f2cca81a6214b994419cff6
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