Commit c02726ff authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Daniel Vetter

drm/gma500: use drm_crtc_vblank_{on,off}()

Replace the legacy drm_vblank_{on,off}() with the new helper functions.
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Acked-by: default avatarPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465308482-15104-7-git-send-email-gustavo@padovan.org
parent 890938b5
...@@ -282,7 +282,7 @@ void gma_crtc_dpms(struct drm_crtc *crtc, int mode) ...@@ -282,7 +282,7 @@ void gma_crtc_dpms(struct drm_crtc *crtc, int mode)
REG_WRITE(VGACNTRL, VGA_DISP_DISABLE); REG_WRITE(VGACNTRL, VGA_DISP_DISABLE);
/* Turn off vblank interrupts */ /* Turn off vblank interrupts */
drm_vblank_off(dev, pipe); drm_crtc_vblank_off(crtc);
/* Wait for vblank for the disable to take effect */ /* Wait for vblank for the disable to take effect */
gma_wait_for_vblank(dev); gma_wait_for_vblank(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment