Skip to contentSkip to conversation

drm: Add documentation for struct drm_pane_size_hint

PATCH Superseded abid-sayyad 1 participant 1 message Aug 1, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 drm: Add documentation for struct drm_pane_size_hint

Fixed warning for the following:
./include/uapi/drm/drm_mode.h:869: warning: Function parameter or struct member
'width' not described in 'drm_plane_size_hint'
./include/uapi/drm/drm_mode.h:869: warning: Function parameter or struct member
'height' not described in 'drm_plane_size_hint'

---
Changes in v2:
- Adress review feedback regarding indentation in the fix
- Link to v1
https://lore.kernel.org/all/[email protected]/

 include/uapi/drm/drm_mode.h | 6 ++++++
 1 file changed, 6 insertions(+)
include/uapi/drm/drm_mode.h +6 -0
index d390011b89b4..9d398335d871 100644
@@ -864,7 +864,13 @@ struct drm_color_lut {
  * array of struct drm_plane_size_hint.
  */
 struct drm_plane_size_hint {
+	/**
+	 * @width: width of the plane in pixels.
+	 */
 	__u16 width;
+	/**
+	 * @height: height of the plane in pixels.
+	 */
 	__u16 height;
 };
 

--
2.39.2