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/drm | |
| 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/drm')
| -rw-r--r-- | include/drm/drm_crtc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 0c7fec5b8fef..78ca1512c73f 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
| @@ -842,6 +842,9 @@ struct drm_mode_config { | |||
| 842 | 842 | ||
| 843 | /* dumb ioctl parameters */ | 843 | /* dumb ioctl parameters */ |
| 844 | uint32_t preferred_depth, prefer_shadow; | 844 | uint32_t preferred_depth, prefer_shadow; |
| 845 | |||
| 846 | /* whether async page flip is supported or not */ | ||
| 847 | bool async_page_flip; | ||
| 845 | }; | 848 | }; |
| 846 | 849 | ||
| 847 | #define obj_to_crtc(x) container_of(x, struct drm_crtc, base) | 850 | #define obj_to_crtc(x) container_of(x, struct drm_crtc, base) |
