summaryrefslogtreecommitdiffstats
path: root/include/drm/drm.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2009-11-19 19:50:22 +0100
committerEric Anholt <eric@anholt.net>2009-12-01 18:11:53 +0100
commit7bd4d7be5c8c35a401b1589201e5d43a64d3f05b (patch)
tree52b997780ce81907238d700f8cd1424013267275 /include/drm/drm.h
parentdrm/i915: Add intel implementation of the pageflip ioctl (diff)
downloadlinux-7bd4d7be5c8c35a401b1589201e5d43a64d3f05b.tar.xz
linux-7bd4d7be5c8c35a401b1589201e5d43a64d3f05b.zip
drm: use page flip event to signal flip completion
We don't actually know which frame number the flip will complete on, so userspace needs a specific flip notification to tell it when the last flip completed. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org> Signed-off-by: Eric Anholt <eric@anholt.net> Acked-by: Kristian Høgsberg <krh@bitplanet.net>
Diffstat (limited to 'include/drm/drm.h')
-rw-r--r--include/drm/drm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drm/drm.h b/include/drm/drm.h
index 3919a4f792ae..309d0a5ed68d 100644
--- a/include/drm/drm.h
+++ b/include/drm/drm.h
@@ -718,6 +718,7 @@ struct drm_event {
};
#define DRM_EVENT_VBLANK 0x01
+#define DRM_EVENT_FLIP_COMPLETE 0x02
struct drm_event_vblank {
struct drm_event base;