Skip to content

Commit

Permalink
drm/virtio: use drm_crtc_send_vblank_event()
Browse files Browse the repository at this point in the history
Replace the legacy drm_send_vblank_event() with the new helper function.

Signed-off-by: Gustavo Padovan <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
Gustavo Padovan authored and danvet committed Jun 6, 2016
1 parent 06413e4 commit a288c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/virtio/virtgpu_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static int virtio_gpu_page_flip(struct drm_crtc *crtc,

if (event) {
spin_lock_irqsave(&crtc->dev->event_lock, irqflags);
drm_send_vblank_event(crtc->dev, -1, event);
drm_crtc_send_vblank_event(crtc, event);
spin_unlock_irqrestore(&crtc->dev->event_lock, irqflags);
}

Expand Down

0 comments on commit a288c1e

Please sign in to comment.