summaryrefslogtreecommitdiffstats
path: root/include/drm/drm_plane.h
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2018-08-31 11:09:25 -0400
committerSean Paul <seanpaul@chromium.org>2018-08-31 11:37:39 -0400
commitb972cece9448c55a2464d61787c955ab28110a40 (patch)
tree30b52c467c57727c03db05aaa2709f9454957e94 /include/drm/drm_plane.h
parente86e894751f0420fbe05d834e02a6777c4b4ac3f (diff)
downloadlinux-b972cece9448c55a2464d61787c955ab28110a40.tar.bz2
drm: Describe pixel_blend_mode in drm_plane_state
Adds docs for pixel_blend_mode in drm_plane_state. Fixes the warning found by kbuild test robot: htmldocs: include/drm/drm_plane.h:189: warning: Function parameter or member 'pixel_blend_mode' not described in 'drm_plane_state' Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Cc: Lowry Li <lowry.li@arm.com> Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20180831150934.202332-1-sean@poorly.run
Diffstat (limited to 'include/drm/drm_plane.h')
-rw-r--r--include/drm/drm_plane.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/drm/drm_plane.h b/include/drm/drm_plane.h
index 35ef64a9398b..16f5b66684ca 100644
--- a/include/drm/drm_plane.h
+++ b/include/drm/drm_plane.h
@@ -117,6 +117,13 @@ struct drm_plane_state {
* details.
*/
u16 alpha;
+
+ /**
+ * @pixel_blend_mode:
+ * The alpha blending equation selection, describing how the pixels from
+ * the current plane are composited with the background. Value can be
+ * one of DRM_MODE_BLEND_*
+ */
uint16_t pixel_blend_mode;
/**