From: Maarten Lankhorst Date: Wed, 20 Nov 2013 05:14:31 +0000 (+1000) Subject: drm/nouveau/kms: send timestamp data for correct head in flip completion events X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f074d733866628973eca0ddb0c534ef4561da9e0;p=openwrt%2Fstaging%2Fblogic.git drm/nouveau/kms: send timestamp data for correct head in flip completion events Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 7809d92183c4..acec7746cafd 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/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)