diff options
author | Keith Packard <keithp@keithp.com> | 2013-07-21 14:24:35 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2013-11-06 19:49:39 -0800 |
commit | ebff7a1e2286781c6fc23e5ed9bcbf177603569c (patch) | |
tree | ace21a2922ff0925ac2d4f843d6778792b36b6c1 /include/drm/drm_mode.h | |
parent | 45810d3d7546f3ddbcdae114c6726ada30e919c9 (diff) | |
download | drm-ebff7a1e2286781c6fc23e5ed9bcbf177603569c.tar.gz |
Add DRM_MODE_PAGE_FLIP_ASYNC define
This exposes the kernel API for performing asynchronous flips
Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'include/drm/drm_mode.h')
-rw-r--r-- | include/drm/drm_mode.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index c1bb1a30..76fd76bf 100644 --- a/include/drm/drm_mode.h +++ b/include/drm/drm_mode.h @@ -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. |