diff options
Diffstat (limited to 'include/drm/drm_crtc.h')
-rw-r--r-- | include/drm/drm_crtc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 0ebd9286b332..cee54c45eba9 100644 --- a/include/drm/drm_crtc.h +++ b/include/drm/drm_crtc.h | |||
@@ -202,6 +202,7 @@ struct drm_framebuffer { | |||
202 | const struct drm_framebuffer_funcs *funcs; | 202 | const struct drm_framebuffer_funcs *funcs; |
203 | unsigned int pitches[4]; | 203 | unsigned int pitches[4]; |
204 | unsigned int offsets[4]; | 204 | unsigned int offsets[4]; |
205 | uint64_t modifier[4]; | ||
205 | unsigned int width; | 206 | unsigned int width; |
206 | unsigned int height; | 207 | unsigned int height; |
207 | /* depth can be 15 or 16 */ | 208 | /* depth can be 15 or 16 */ |
@@ -1152,6 +1153,9 @@ struct drm_mode_config { | |||
1152 | /* whether async page flip is supported or not */ | 1153 | /* whether async page flip is supported or not */ |
1153 | bool async_page_flip; | 1154 | bool async_page_flip; |
1154 | 1155 | ||
1156 | /* whether the driver supports fb modifiers */ | ||
1157 | bool allow_fb_modifiers; | ||
1158 | |||
1155 | /* cursor size */ | 1159 | /* cursor size */ |
1156 | uint32_t cursor_width, cursor_height; | 1160 | uint32_t cursor_width, cursor_height; |
1157 | }; | 1161 | }; |