Skip to content

Commit

Permalink
drm/fsl-dcu: use new drm_atomic_helper_shutdown
Browse files Browse the repository at this point in the history
Commit 18dddad ("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 <[email protected]>
  • Loading branch information
agners committed Jun 8, 2017
1 parent 685ec6e commit 09cedcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 09cedcb

Please sign in to comment.