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

index 613f6c99b76a67e9e6054661f56ac695b7eb4253..a978381ef95bfb3e6562ba34bccf26f0b2208ff4 100644 (file)
@@ -383,7 +383,7 @@ static void atmel_hlcdc_crtc_finish_page_flip(struct atmel_hlcdc_crtc *crtc)
 
 void atmel_hlcdc_crtc_irq(struct drm_crtc *c)
 {
-       drm_handle_vblank(c->dev, 0);
+       drm_crtc_handle_vblank(c);
        atmel_hlcdc_crtc_finish_page_flip(drm_crtc_to_atmel_hlcdc_crtc(c));
 }