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

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Maarten Lankhorst 2013-11-20 15:14:31 +10:00 committed by Ben Skeggs
parent a7e4201f0f
commit f074d73386

View file

@ -701,7 +701,7 @@ nouveau_finish_page_flip(struct nouveau_channel *chan,
s = list_first_entry(&fctx->flip, struct nouveau_page_flip_state, head);
if (s->event)
drm_send_vblank_event(dev, -1, s->event);
drm_send_vblank_event(dev, s->crtc, s->event);
list_del(&s->head);
if (ps)