[PATCH v1 2/2] drm: fix doc warning for height and width of plane

Sunil Khatri sunil.khatri at amd.com
Tue Oct 8 08:37:10 UTC 2024


Fixes:
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'

Signed-off-by: Sunil Khatri <sunil.khatri at amd.com>
Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
Cc: Sameer Lattannavar <sameer.lattannavar at intel.com>
Cc: Jonas Ådahl <jadahl at redhat.com>
---
 include/uapi/drm/drm_mode.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/uapi/drm/drm_mode.h b/include/uapi/drm/drm_mode.h
index d390011b89b4..ea07fbbde425 100644
--- a/include/uapi/drm/drm_mode.h
+++ b/include/uapi/drm/drm_mode.h
@@ -862,6 +862,8 @@ struct drm_color_lut {
  *
  * The plane SIZE_HINTS property blob contains an
  * array of struct drm_plane_size_hint.
+ * @width: Plane width hint
+ * @height: Plane height hint
  */
 struct drm_plane_size_hint {
 	__u16 width;
-- 
2.34.1



More information about the Intel-gfx mailing list