drm: when queuing an event with NEXTONMISS, return queued sequence to userspace
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 10 Nov 2009 08:21:25 +0000 (08:21 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Nov 2009 03:44:58 +0000 (13:44 +1000)
commit4efc50d697ed8d9a91f0005d922907a7b6c9290d
treeaf4985b7ff99aab603c537fc86b322668894718e
parentfe625f137d28d1ebe22a71ee064ffab2841055a5
drm: when queuing an event with NEXTONMISS, return queued sequence to userspace

If we queue a vblank event but miss it, we should return the actual
sequence number we queued to userspace, so its event handling function
will know which event to look for.

Acked-by: Kristian Høgsberg <krh@bitplanet.net>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_irq.c