summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-06-15 10:12:23 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-06-15 10:12:23 +0200
commit7f95a06c61f585cbc4b5fefc833432178550fe31 (patch)
tree01c6d01c7aa2dbdaf904d928dcad1ad90320c3a4
parent1000d88ddfcd0ae769125db37d4e78643a430caf (diff)
Return current sequence number to userspace after blocking wait for vblank.
-rw-r--r--linux-core/drm_irq.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_irq.c b/linux-core/drm_irq.c
index f73d067f..b4e3c10f 100644
--- a/linux-core/drm_irq.c
+++ b/linux-core/drm_irq.c
@@ -556,6 +556,7 @@ int drm_wait_vblank(DRM_IOCTL_ARGS)
do_gettimeofday(&now);
vblwait.reply.tval_sec = now.tv_sec;
vblwait.reply.tval_usec = now.tv_usec;
+ vblwait.reply.sequence = cur_vblank;
}
done: