MLK-19845: drm/imx/dcss: fix suspend/resume issue
authorLaurentiu Palcu <laurentiu.palcu@nxp.com>
Tue, 9 Oct 2018 05:50:42 +0000 (08:50 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitb95104f2a10a13f02244169a6d7195d5bef6ee33
treeb7369bbfc607d6a281e4e25b59274e29a5e8d55a
parent381fc6e62ada8ff827838960981d745e4f1268e1
MLK-19845: drm/imx/dcss: fix suspend/resume issue

While running suspend/resume tests it may happen to go to suspend while
CTXLD still has entries to be commited. Currently, when this happens,
the scaler freezes.

This patch will fire up context loader just before going to suspend,
thus commiting everything to DCSS before cutting off the clocks.

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@nxp.com>
drivers/gpu/imx/dcss/dcss-ctxld.c