drm/armada: use drm_crtc_handle_vblank()
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Tue, 5 Jul 2016 00:04:48 +0000 (21:04 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Jul 2016 13:41:14 +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-2-git-send-email-gustavo@padovan.org
drivers/gpu/drm/armada/armada_crtc.c

index 34405e4a5d36360aae11d44a8c5b7305a82178e9..2f58e9e2a59cb4346e339a43953e3ade8941889a 100644 (file)
@@ -410,7 +410,7 @@ static void armada_drm_crtc_irq(struct armada_crtc *dcrtc, u32 stat)
                DRM_ERROR("graphics underflow on crtc %u\n", dcrtc->num);
 
        if (stat & VSYNC_IRQ)
-               drm_handle_vblank(dcrtc->crtc.dev, dcrtc->num);
+               drm_crtc_handle_vblank(&dcrtc->crtc);
 
        spin_lock(&dcrtc->irq_lock);
        ovl_plane = dcrtc->plane;