Add DRM_MODE_PAGE_FLIP_ASYNC define
Subsystems (2)
PATCH 1/1 Add DRM_MODE_PAGE_FLIP_ASYNC define
This exposes the kernel API for performing asynchronous flips
Signed-off-by Keith Packard <[email protected]>
---
include/drm/drm.h | 1 + include/drm/drm_mode.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-)
include/drm/drm.h +1 -0
@@ -797,6 +797,7 @@ struct drm_event_vblank {#define DRM_CAP_DUMB_PREFER_SHADOW 0x4#define DRM_CAP_PRIME 0x5#define DRM_CAP_TIMESTAMP_MONOTONIC 0x6 +#define DRM_CAP_ASYNC_PAGE_FLIP 0x7#define DRM_PRIME_CAP_IMPORT 0x1#define DRM_PRIME_CAP_EXPORT 0x2
include/drm/drm_mode.h +2 -1
@@ -425,7 +425,8 @@ struct drm_mode_crtc_lut { };#define DRM_MODE_PAGE_FLIP_EVENT 0x01 -#define DRM_MODE_PAGE_FLIP_FLAGS DRM_MODE_PAGE_FLIP_EVENT +#define DRM_MODE_PAGE_FLIP_ASYNC 0x02 +#define DRM_MODE_PAGE_FLIP_FLAGS (DRM_MODE_PAGE_FLIP_EVENT|DRM_MODE_PAGE_FLIP_ASYNC)/* * Request a page flip on the specified crtc.
Signature · 1 line
1.8.4.2
Quoted 3 lines · Keith Packard
This exposes the kernel API for performing asynchronous flips
Signed-off-by Keith Packard <[email protected]>
Reviewed-by Eric Anholt <[email protected]>
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 7 lines · Eric Anholt
Quoted 3 lines · Keith Packard
This exposes the kernel API for performing asynchronous flips
Signed-off-by Keith Packard <[email protected]>Reviewed-by Eric Anholt <[email protected]>
I've pushed this to master.
Signature · 1 line
[email protected]
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel