]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
drm/fsl: Drop drm_vblank_cleanup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 May 2017 14:51:54 +0000 (16:51 +0200)
committerStefan Agner <stefan@agner.ch>
Thu, 8 Jun 2017 21:59:08 +0000 (14:59 -0700)
Again cleanup before irq disabling doesn't really stop the races,
so just drop it. Proper fix would be to put drm_atomic_helper_shutdown
before everything gets cleaned up.

Cc: Stefan Agner <stefan@agner.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Stefan Agner <stefan@agner.ch>
drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c

index 6e00f4b267f1742fa96763345cccd38e1ca84c26..b34d09b59eeebc9db906a267a047f62a4510fab4 100644 (file)
@@ -109,7 +109,6 @@ done:
                drm_fbdev_cma_fini(fsl_dev->fbdev);
 
        drm_mode_config_cleanup(dev);
-       drm_vblank_cleanup(dev);
        drm_irq_uninstall(dev);
        dev->dev_private = NULL;
 
@@ -127,7 +126,6 @@ static void fsl_dcu_unload(struct drm_device *dev)
                drm_fbdev_cma_fini(fsl_dev->fbdev);
 
        drm_mode_config_cleanup(dev);
-       drm_vblank_cleanup(dev);
        drm_irq_uninstall(dev);
 
        dev->dev_private = NULL;