Commit 39c74b51 authored by Stefan Agner's avatar Stefan Agner

drm/fsl-dcu: disable outputs before unloading driver

Make sure that all outputs are disabled before unloading the DRM
driver. Otherwise vblank handling is not shut down properly and
warnings such as this appear:
WARNING: CPU: 0 PID: 540 at drivers/gpu/drm/drm_irq.c:339 drm_vblank_cleanup+0x5c/0x94
Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
parent 39a5019a
...@@ -108,6 +108,7 @@ static int fsl_dcu_unload(struct drm_device *dev) ...@@ -108,6 +108,7 @@ static int 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_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