[PATCH] drm: Add documentation for struct drm_plane_size_hint members

Abhishek Tamboli abhishektamboli24 at gmail.com
Mon Jul 8 17:22:24 UTC 2024


Add descriptions for 'width' and 'height' members in struct
drm_plane_size_hint to improve clarity and documentation coverage.

Signed-off-by: Abhishek Tamboli <abhishektamboli24 at gmail.com>
---
 include/uapi/drm/drm_mode.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index 1ca5c7e418fd..25891a636e4f 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -872,7 +872,13 @@ struct drm_color_lut {
  * array of struct drm_plane_size_hint.
  */
 struct drm_plane_size_hint {
+	/**
+	 * @width: Width of the plane size hint.
+	 */
 	__u16 width;
+	/**
+	 * @height: Height of the plane size hint.
+	 */
 	__u16 height;
 };
 
-- 
2.34.1



More information about the dri-devel mailing list