Skip to content

Commit 0c3b063

Browse files
lag-linaromripard
authored andcommitted
drm/drm_connector: Provide short description of param 'supported_colorspaces'
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/drm_connector.c:2215: warning: Function parameter or member 'supported_colorspaces' not described in 'drm_mode_create_hdmi_colorspace_property' drivers/gpu/drm/drm_connector.c:2239: warning: Function parameter or member 'supported_colorspaces' not described in 'drm_mode_create_dp_colorspace_property' Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
1 parent f9e96bf commit 0c3b063

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/drm_connector.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2203,6 +2203,7 @@ static int drm_mode_create_colorspace_property(struct drm_connector *connector,
22032203
/**
22042204
* drm_mode_create_hdmi_colorspace_property - create hdmi colorspace property
22052205
* @connector: connector to create the Colorspace property on.
2206+
* @supported_colorspaces: bitmap of supported color spaces
22062207
*
22072208
* Called by a driver the first time it's needed, must be attached to desired
22082209
* HDMI connectors.
@@ -2227,6 +2228,7 @@ EXPORT_SYMBOL(drm_mode_create_hdmi_colorspace_property);
22272228
/**
22282229
* drm_mode_create_dp_colorspace_property - create dp colorspace property
22292230
* @connector: connector to create the Colorspace property on.
2231+
* @supported_colorspaces: bitmap of supported color spaces
22302232
*
22312233
* Called by a driver the first time it's needed, must be attached to desired
22322234
* DP connectors.

0 commit comments

Comments
 (0)