Skip to content

Commit

Permalink
drm/gma500: use drm_crtc_vblank_{on,off}()
Browse files Browse the repository at this point in the history
Replace the legacy drm_vblank_{on,off}() with the new helper functions.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Acked-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1465308482-15104-7-git-send-email-gustavo@padovan.org
  • Loading branch information
Gustavo Padovan authored and Daniel Vetter committed Jun 13, 2016
1 parent 890938b commit c02726f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/gma500/gma_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ void gma_crtc_dpms(struct drm_crtc *crtc, int mode)
REG_WRITE(VGACNTRL, VGA_DISP_DISABLE);

/* Turn off vblank interrupts */
drm_vblank_off(dev, pipe);
drm_crtc_vblank_off(crtc);

/* Wait for vblank for the disable to take effect */
gma_wait_for_vblank(dev);
Expand Down

0 comments on commit c02726f

Please sign in to comment.