]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf476315b2fa99a49a1a0c641ab27b9dcbf05877a
treeaf4985b7ff99aab603c537fc86b322668894718e
parent66a70ac37e15dde4516ca13e9bcc725a89892fb5
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