MLK-20546-1: drm/imx/dcss: fix crtc enable/disable completion signalling
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Fri, 18 Jan 2019 07:15:40 +0000 (09:15 +0200)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit2125061f190dd6d1042c294b25111e7983f21314
treeb150c6253b91416a2879b23d1cd53e29db603631
parent9187db8a83971c9932793e539b18baa96a0424ac
MLK-20546-1: drm/imx/dcss: fix crtc enable/disable completion signalling

Using one completion variable is not feasible as we can hit corner cases like
enabling and then quickly disabling DCSS where we end up signaling that DTG was
correctly disabled when, in fact, a VBLANK interrupt was received.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
Reviewed-by: Robert Chiras <robert.chiras@nxp.com>
drivers/gpu/drm/imx/dcss/dcss-crtc.c