Browse Source

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

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Maarten Lankhorst 11 years ago
parent
commit
f074d73386
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gpu/drm/nouveau/nouveau_display.c

+ 1 - 1
drivers/gpu/drm/nouveau/nouveau_display.c

@@ -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)