diff options
author | Stefan Agner <stefan@agner.ch> | 2017-06-02 04:50:21 +0200 |
---|---|---|
committer | Stefan Agner <stefan@agner.ch> | 2017-06-08 23:59:14 +0200 |
commit | 09cedcb6d4c585336c5a75cbbb3a5addf710b03e (patch) | |
tree | 60f6f59cf58c1da64e7a2ab4146efdbfb9829574 /drivers/gpu/drm/fsl-dcu | |
parent | drm/fsl-dcu: implement irq_preinstall/uninstall callbacks (diff) | |
download | linux-09cedcb6d4c585336c5a75cbbb3a5addf710b03e.tar.xz linux-09cedcb6d4c585336c5a75cbbb3a5addf710b03e.zip |
drm/fsl-dcu: use new drm_atomic_helper_shutdown
Commit 18dddadc78c9 ("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: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'drivers/gpu/drm/fsl-dcu')
-rw-r--r-- | drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c index b134acf19c41..5cbde196895a 100644 --- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c +++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c @@ -113,7 +113,7 @@ static void fsl_dcu_unload(struct drm_device *dev) { 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); if (fsl_dev->fbdev) |