aboutsummaryrefslogtreecommitdiff
path: root/shared-core/drm.h
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@sasori.(none)>2009-11-12 14:06:45 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2009-11-20 14:53:27 -0800
commitb80bcffba6175c53ebe1f1bd02730de0338cc039 (patch)
tree243823e5ed4ee2779ec7bbce4c1a7ce77e9d80cc /shared-core/drm.h
parent2577764a5069ca9276e90154915797bcf873adab (diff)
libdrm: add libdrm support for page flip ioctl
Diffstat (limited to 'shared-core/drm.h')
-rw-r--r--shared-core/drm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 089e184a..c381874f 100644
--- a/shared-core/drm.h
+++ b/shared-core/drm.h
@@ -795,6 +795,7 @@ struct drm_gem_open {
#define DRM_IOCTL_MODE_GETFB DRM_IOWR(0xAD, struct drm_mode_fb_cmd)
#define DRM_IOCTL_MODE_ADDFB DRM_IOWR(0xAE, struct drm_mode_fb_cmd)
#define DRM_IOCTL_MODE_RMFB DRM_IOWR(0xAF, uint32_t)
+#define DRM_IOCTL_MODE_PAGE_FLIP DRM_IOWR(0xB0, struct drm_mode_crtc_page_flip)
/*@}*/
@@ -827,6 +828,7 @@ struct drm_event {
};
#define DRM_EVENT_VBLANK 0x01
+#define DRM_EVENT_FLIP_COMPLETE 0x02
struct drm_event_vblank {
struct drm_event base;