diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2009-09-12 04:33:34 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-10-26 13:29:27 +1000 |
commit | c182be37ed7cb04c344501b88b8fdb747016e6cf (patch) | |
tree | 013ae7e4c5bb512ac8e4132a642f40c27f03390e /drivers/gpu/drm/radeon | |
parent | 0a5c1e61dbaceb6ce56281a3128a6912b0dcd043 (diff) |
drm: Add async event synchronization for drmWaitVblank
This patch adds a new flag to the drmWaitVblank ioctl, which asks the drm
to return immediately and notify userspace when the specified vblank sequence
happens by sending an event back on the drm fd.
The event mechanism works with the other flags supported by the ioctls,
specifically, the vblank sequence can be specified relatively or absolutely,
and works for primary and seconday crtc.
The signal field of the vblank request is used to provide user data,
which will be sent back to user space in the vblank event.
Signed-off-by: Kristian Høgsberg <krh@redhat.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon')
0 files changed, 0 insertions, 0 deletions