drm/imx: only send event on crtc disable if kept disabled
authorRobert Beckett <bob.beckett@collabora.com>
Tue, 25 Jun 2019 17:59:15 +0000 (18:59 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 4 Jul 2019 10:21:25 +0000 (12:21 +0200)
commit5aeab2bfc9ffa72d3ca73416635cb3785dfc076f
tree008df8595b96216ee33dd0d452a04ab6ef1273f0
parent78c68e8f5cd24bd32ba4ca1cdfb0c30cf0642685
drm/imx: only send event on crtc disable if kept disabled

The event will be sent as part of the vblank enable during the modeset
if the crtc is not being kept disabled.

Fixes: 5f2f911578fb ("drm/imx: atomic phase 3 step 1: Use atomic configuration")
Signed-off-by: Robert Beckett <bob.beckett@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/ipuv3-crtc.c