]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
drm/nouveau: Drop drm_vblank_cleanup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 21 Jun 2017 08:28:44 +0000 (10:28 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 26 Jun 2017 09:03:40 +0000 (11:03 +0200)
nouveau_display_vblank_fini is called in the load error path (where it
doesn't matter) and module unload (where vblanks have been shut down
correctly already through drm_vblank_off), we can drop it.

Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: nouveau@lists.freedesktop.org
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170621082850.13224-8-daniel.vetter@ffwll.ch
drivers/gpu/drm/nouveau/nouveau_display.c

index 6718c84fb86250f2bb68a4612a5209ed5725cee4..0f3af939f5aaff2811e107a41fe34704aac52d0b 100644 (file)
@@ -159,8 +159,6 @@ nouveau_display_vblank_fini(struct drm_device *dev)
 {
        struct drm_crtc *crtc;
 
-       drm_vblank_cleanup(dev);
-
        list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) {
                struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc);
                nvif_notify_fini(&nv_crtc->vblank);