drm/nouveau: use drm_crtc_handle_vblank()
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 5 Jul 2016 00:04:50 +0000 (21:04 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jul 2016 13:41:42 +0000 (15:41 +0200)
Remove legacy usage of drm_handle_vblank()

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1467677092-5089-4-git-send-email-gustavo@padovan.org
drivers/gpu/drm/nouveau/nouveau_display.c

index bd8d5bb2c885cc59dd18618209b3b8fa23951661..6e97862d31a12db0d291736eb1a0d8aa17ca2f8d 100644 (file)
@@ -47,7 +47,7 @@ nouveau_display_vblank_handler(struct nvif_notify *notify)
 {
        struct nouveau_crtc *nv_crtc =
                container_of(notify, typeof(*nv_crtc), vblank);
-       drm_handle_vblank(nv_crtc->base.dev, nv_crtc->index);
+       drm_crtc_handle_vblank(&nv_crtc->base);
        return NVIF_NOTIFY_KEEP;
 }