drm/tilcdc: Enable and disable interrupts in crtc start() and stop()
authorJyri Sarha <jsarha@ti.com>
Tue, 21 Jun 2016 13:00:44 +0000 (16:00 +0300)
committerJyri Sarha <jsarha@ti.com>
Mon, 8 Aug 2016 20:05:15 +0000 (23:05 +0300)
commitafaf833dd5d7793e9441f122bbe3e37a09a0c743
treec56baf55c9c6dfdbcd820d28047390e4a7384427
parent018cfbde63a4b1cb7ca4cb0c0b1d4286f7708236
drm/tilcdc: Enable and disable interrupts in crtc start() and stop()

Enable and disable interrupts in crtc start() and stop(). None of the
interrupts can fire if CRTC is disabled, so it is cleaner - when
considering suspend/resume code etc. - to enable the interrupts when
CRTC is turned on and to disable them when CRTC is turned off.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_crtc.c
drivers/gpu/drm/tilcdc/tilcdc_drv.c