drm/nouveau: Drop drm_vblank_cleanup
authorDaniel Vetter <[email protected]>
Wed, 21 Jun 2017 08:28:44 +0000 (10:28 +0200)
committerDaniel Vetter <[email protected]>
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 <[email protected]>
Cc: [email protected]
Reviewed-by: Sean Paul <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
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);