diff options
author | Keith Packard <keithp@keithp.com> | 2013-07-22 21:50:00 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-08-29 19:25:13 -0400 |
commit | 62f2104f3fc11c4cfd1307429cb955bfa48dcb37 (patch) | |
tree | f5a4e80d68e100cc6818a6810d07f28135ddd8c5 /include/uapi/drm/drm.h | |
parent | 9bba0c42ec81748462e58b18095c0eef8707cc9a (diff) |
drm: Advertise async page flip ability through GETCAP ioctl
Let applications know whether the kernel supports asynchronous page
flipping.
Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Dave Airlie <airlied@gmail.com>
Diffstat (limited to 'include/uapi/drm/drm.h')
-rw-r--r-- | include/uapi/drm/drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 272580ca320f..ece867889cc7 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h | |||
@@ -780,6 +780,7 @@ struct drm_event_vblank { | |||
780 | #define DRM_CAP_DUMB_PREFER_SHADOW 0x4 | 780 | #define DRM_CAP_DUMB_PREFER_SHADOW 0x4 |
781 | #define DRM_CAP_PRIME 0x5 | 781 | #define DRM_CAP_PRIME 0x5 |
782 | #define DRM_CAP_TIMESTAMP_MONOTONIC 0x6 | 782 | #define DRM_CAP_TIMESTAMP_MONOTONIC 0x6 |
783 | #define DRM_CAP_ASYNC_PAGE_FLIP 0x7 | ||
783 | 784 | ||
784 | #define DRM_PRIME_CAP_IMPORT 0x1 | 785 | #define DRM_PRIME_CAP_IMPORT 0x1 |
785 | #define DRM_PRIME_CAP_EXPORT 0x2 | 786 | #define DRM_PRIME_CAP_EXPORT 0x2 |