drm/stm: ltdc: disable all layers before crtc shutdown
authorYannick Fertre <yannick.fertre@foss.st.com>
Fri, 3 Jun 2022 13:41:51 +0000 (15:41 +0200)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Mon, 27 Jun 2022 13:53:49 +0000 (15:53 +0200)
commitc4f218d46fafd709df8e03c275c4d4ad6ebed019
tree7aec7f707601e61e9962f0f68ab4da9187d37cf2
parent6fde8eec71796f3534f0c274066862829813b21f
drm/stm: ltdc: disable all layers before crtc shutdown

All plans must be disabled before the CRTC shutdown helping
the crtc to restart from a clean situation (without unwanted
planes already enable).

Signed-off-by: Yannick Fertre <yannick.fertre@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220603134151.591997-1-yannick.fertre@foss.st.com
drivers/gpu/drm/stm/ltdc.c