drm/imx: only enable vblank IRQs when needed
authorLucas Stach <l.stach@pengutronix.de>
Tue, 9 Feb 2016 10:43:08 +0000 (11:43 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 1 Mar 2016 07:33:41 +0000 (08:33 +0100)
commit411b0336cf9fc988ff11de3f1e66587fe88fb980
tree30ab65d1a4c51675ef05dbd524bdb47ff85605f6
parent17a8d08df107a903ccdd5e7733ab9f0a796fac5c
drm/imx: only enable vblank IRQs when needed

The vblank IRQ is only needed to trigger page flip work, so we
might as well disable it when there is no work to do.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-crtc.c