diff options
author | Maarten Lankhorst <maarten.lankhorst@canonical.com> | 2013-11-20 00:14:31 -0500 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2013-12-03 08:28:56 -0500 |
commit | f074d733866628973eca0ddb0c534ef4561da9e0 (patch) | |
tree | 1d1b274f0ed556bdc61e3caa147650f7dc854d5a | |
parent | a7e4201f0f7d47e03b851f06f8987856e8d33083 (diff) |
drm/nouveau/kms: send timestamp data for correct head in flip completion events
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, | |||
701 | 701 | ||
702 | s = list_first_entry(&fctx->flip, struct nouveau_page_flip_state, head); | 702 | s = list_first_entry(&fctx->flip, struct nouveau_page_flip_state, head); |
703 | if (s->event) | 703 | if (s->event) |
704 | drm_send_vblank_event(dev, -1, s->event); | 704 | drm_send_vblank_event(dev, s->crtc, s->event); |
705 | 705 | ||
706 | list_del(&s->head); | 706 | list_del(&s->head); |
707 | if (ps) | 707 | if (ps) |