Let applications know whether the kernel supports asynchronous page flipping.
Showing the changes to include/drm (1 of 4 files). Show all
Unified · Split
| @@ -842,6 +842,9 @@ struct drm_mode_config { · 841 unmodified lines | |||
| 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) |