summaryrefslogtreecommitdiff
path: root/shared-core/drm_mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/drm_mode.h')
-rw-r--r--shared-core/drm_mode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/shared-core/drm_mode.h b/shared-core/drm_mode.h
index 9b92733d..fceac3c8 100644
--- a/shared-core/drm_mode.h
+++ b/shared-core/drm_mode.h
@@ -270,4 +270,15 @@ struct drm_mode_crtc_lut {
uint64_t blue;
};
+#define DRM_MODE_PAGE_FLIP_EVENT 0x01
+#define DRM_MODE_PAGE_FLIP_FLAGS DRM_MODE_PAGE_FLIP_EVENT
+
+struct drm_mode_crtc_page_flip {
+ uint32_t crtc_id;
+ uint32_t fb_id;
+ uint32_t flags;
+ uint32_t reserved;
+ uint64_t user_data;
+};
+
#endif