Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a288c1ea authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Daniel Vetter
Browse files

drm/virtio: use drm_crtc_send_vblank_event()

parent 06413e4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -156,7 +156,7 @@ static int virtio_gpu_page_flip(struct drm_crtc *crtc,


	if (event) {
	if (event) {
		spin_lock_irqsave(&crtc->dev->event_lock, irqflags);
		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);
		spin_unlock_irqrestore(&crtc->dev->event_lock, irqflags);
	}
	}