Commit f074d733 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Ben Skeggs

drm/nouveau/kms: send timestamp data for correct head in flip completion events

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent a7e4201f
...@@ -701,7 +701,7 @@ nouveau_finish_page_flip(struct nouveau_channel *chan, ...@@ -701,7 +701,7 @@ nouveau_finish_page_flip(struct nouveau_channel *chan,
s = list_first_entry(&fctx->flip, struct nouveau_page_flip_state, head); s = list_first_entry(&fctx->flip, struct nouveau_page_flip_state, head);
if (s->event) if (s->event)
drm_send_vblank_event(dev, -1, s->event); drm_send_vblank_event(dev, s->crtc, s->event);
list_del(&s->head); list_del(&s->head);
if (ps) if (ps)
......
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