diff options
| author | Kristian Høgsberg <krh@sasori.(none)> | 2009-11-12 14:06:45 -0500 |
|---|---|---|
| committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-11-20 14:53:27 -0800 |
| commit | b80bcffba6175c53ebe1f1bd02730de0338cc039 (patch) | |
| tree | 243823e5ed4ee2779ec7bbce4c1a7ce77e9d80cc /shared-core/drm_mode.h | |
| parent | 2577764a5069ca9276e90154915797bcf873adab (diff) | |
libdrm: add libdrm support for page flip ioctl
Diffstat (limited to 'shared-core/drm_mode.h')
| -rw-r--r-- | shared-core/drm_mode.h | 11 |
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 |
