diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2018-09-01 16:12:40 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-09-01 16:12:40 -0700 |
| commit | 7649a71688fb9e12f8a741e3b7b3c7b2f69696a2 (patch) | |
| tree | b997c8796e319b1f0277da3e95ef5378ff705c03 /include/uapi | |
| parent | f99b0c3811b0654c77c4768b637832f2ef33b3c0 (diff) | |
| parent | bf652034e39b849ce56e9c64e01a160bc029deaa (diff) | |
Merge "drm: Pass CRTC ID in userspace vblank events"
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/drm/drm.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 24c76d138317..e127ac05cdb0 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h @@ -639,6 +639,7 @@ struct drm_gem_open { #define DRM_CAP_CURSOR_WIDTH 0x8 #define DRM_CAP_CURSOR_HEIGHT 0x9 #define DRM_CAP_ADDFB2_MODIFIERS 0x10 +#define DRM_CAP_CRTC_IN_VBLANK_EVENT 0x12 /** DRM_IOCTL_GET_CAP ioctl argument type */ struct drm_get_cap { @@ -842,7 +843,7 @@ struct drm_event_vblank { __u32 tv_sec; __u32 tv_usec; __u32 sequence; - __u32 reserved; + __u32 crtc_id; /* 0 on older kernels that do not support this */ }; /* typedef area */ |
