Commit 09cedcb6 authored by Stefan Agner's avatar Stefan Agner

drm/fsl-dcu: use new drm_atomic_helper_shutdown

Commit 18dddadc ("drm/atomic: Introduce drm_atomic_helper_shutdown")
introduced a new helper to shutdown all CRTCs to replace the buggy
drm_crtc_force_disable_all() function. Make use of the new atomic
helper drm_atomic_helper_shutdown() to shutdown CRTCs.
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
parent 685ec6eb
...@@ -113,7 +113,7 @@ static void fsl_dcu_unload(struct drm_device *dev) ...@@ -113,7 +113,7 @@ static void fsl_dcu_unload(struct drm_device *dev)
{ {
struct fsl_dcu_drm_device *fsl_dev = dev->dev_private; struct fsl_dcu_drm_device *fsl_dev = dev->dev_private;
drm_crtc_force_disable_all(dev); drm_atomic_helper_shutdown(dev);
drm_kms_helper_poll_fini(dev); drm_kms_helper_poll_fini(dev);
if (fsl_dev->fbdev) if (fsl_dev->fbdev)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment