drm/arcgpu: Drop drm_vblank_cleanup
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 24 May 2017 14:51:50 +0000 (16:51 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 31 May 2017 08:57:08 +0000 (10:57 +0200)
CRTC don't seem to get shut down in a controlled fashion, but no one
bothers to stop interrupts either so this races no matter what. Might
as well remove it. A call to drm_atomic_helper_shutdown would be
pretty sweet somewhere (and maybe getting rid of the load/unload
callbacks while at it).

Cc: Alexey Brodkin <abrodkin@synopsys.com>
Reviewed-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-16-daniel.vetter@ffwll.ch
Link: http://patchwork.freedesktop.org/patch/msgid/20170524145212.27837-14-daniel.vetter@ffwll.ch
drivers/gpu/drm/arc/arcpgu_drv.c

index 1926b200e4cb3eade1178ec27fd95fd453f6d8b4..3e43a5d4fb09e0c9233f02b6bd1545e5abc190cc 100644 (file)
@@ -155,7 +155,6 @@ static int arcpgu_unload(struct drm_device *drm)
                arcpgu->fbdev = NULL;
        }
        drm_kms_helper_poll_fini(drm);
-       drm_vblank_cleanup(drm);
        drm_mode_config_cleanup(drm);
 
        return 0;