diff options
author | Ben Widawsky <ben@bwidawsk.net> | 2016-10-31 22:54:47 -0700 |
---|---|---|
committer | Ben Widawsky <ben@bwidawsk.net> | 2016-10-31 22:54:47 -0700 |
commit | 89d7ad075a5bbd2dd658666343f55784e7fdee0d (patch) | |
tree | 79201b0180f989a4f8a863dcc592aa341dceb21a | |
parent | 6493860d70b4b1bc4b7327dbb8b951643413a0ae (diff) |
intel: Add num planes flag for fbrbc
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
-rw-r--r-- | include/drm/drm_mode.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/drm/drm_mode.h b/include/drm/drm_mode.h index df0e3504c..fbfbe6b3d 100644 --- a/include/drm/drm_mode.h +++ b/include/drm/drm_mode.h @@ -368,8 +368,11 @@ struct drm_mode_fb_cmd { __u32 handle; }; -#define DRM_MODE_FB_INTERLACED (1<<0) /* for interlaced framebuffers */ -#define DRM_MODE_FB_MODIFIERS (1<<1) /* enables ->modifer[] */ +#define DRM_MODE_FB_INTERLACED (1<<0) /* for interlaced framebuffers */ +#define DRM_MODE_FB_MODIFIERS (1<<1) /* enables ->modifier[] */ +#define DRM_MODE_FB_NUM_AUX_PLANES (3<<2) /* There can be at most 3 aux planes + since there must be one real + color buffer */ struct drm_mode_fb_cmd2 { __u32 fb_id; |