Skip to contentSkip to conversation

drm: Describe pixel_blend_mode in drm_plane_state

PATCH In review Sean Paul 3 participants 4 messages Aug 31, 2018 – Sep 3, 2018

Subsystems (2)
lore
Share & tools
lore

Sean Paul

author
#0 lore raw

PATCH 1/1 drm: Describe pixel_blend_mode in drm_plane_state

From: Sean Paul <[email protected]>

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 <[email protected]>
Cc Lowry Li <[email protected]>
---
 include/drm/drm_plane.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/drm/drm_plane.h +7 -0
index 35ef64a9398b..16f5b66684ca 100644
@@ -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;
 
 	/**
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer Reviewed-by on v1 1/1
#1 lore raw

Op 31-08-18 om 17:09 schreef Sean Paul:

Quoted 22 lines

From: Sean Paul <[email protected]>

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 <[email protected]>
Cc Lowry Li <[email protected]>
---
 include/drm/drm_plane.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/drm/drm_plane.h +0 -0
index 35ef64a9398b..16f5b66684ca 100644
@@ -117,6 +117,13 @@ struct drm_plane_state {
 	 * details.
 	 */
 	u16 alpha;

include/drm/drm_plane.h struct drm_plane_state { · line 129

Quoted 10 lines
include/drm/drm_plane.h +7 -0
+
+	/**
+	 * @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;
 
 	/**

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

author Applied
#2 lore raw
Quoted 32 lines · Maarten Lankhorst

Op 31-08-18 om 17:09 schreef Sean Paul:

Quoted 31 lines

From: Sean Paul <[email protected]>

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 <[email protected]>
Cc Lowry Li <[email protected]>
---
 include/drm/drm_plane.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/drm/drm_plane.h +7 -0
index 35ef64a9398b..16f5b66684ca 100644
@@ -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;
 
Quoted 3 lines

include/drm/drm_plane.h struct drm_plane_state { · line 129

Quoted 1 line
include/drm/drm_plane.h +0 -0
 	/**

Applied to -misc-next, thanks Maarten!

Sean

Quoted 1 line
Signature · 5 lines
Sean Paul, Software Engineer, Google / Chromium OS
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Reviewed-by on v1 1/1
#3 lore raw
In reply to Sean Paul

Hi Sean,

Quoted 10 lines · Sean Paul

From: Sean Paul <[email protected]>

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 <[email protected]>
Cc Lowry Li <[email protected]>
Quoted 29 lines
---
 include/drm/drm_plane.h | 7 +++++++
 1 file changed, 7 insertions(+)
include/drm/drm_plane.h +7 -0
index 35ef64a9398b..16f5b66684ca 100644
@@ -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;
 
 	/**
Signature · 6 lines
Sean Paul, Software Engineer, Google / Chromium OS

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Signature · 6 lines
Cheers,
Alex G
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel