Skip to content

Commit f10a6f5

Browse files
srishanmgregkh
authored andcommitted
drm/amdgpu: Fix function header names in amdgpu_connectors.c
commit 38ab33d upstream. Align the function headers for `amdgpu_max_hdmi_pixel_clock` and `amdgpu_connector_dvi_mode_valid` with the function implementations so they match the expected kdoc style. Fixes the below: drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c:1199: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Returns the maximum supported HDMI (TMDS) pixel clock in KHz. drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c:1212: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst * Validates the given display mode on DVI and HDMI connectors. Fixes: 585b2f6 ("drm/amdgpu: Respect max pixel clock for HDMI and DVI-D (v2)") Cc: Christian König <[email protected]> Cc: Alex Deucher <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent d96aa80 commit f10a6f5

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,10 @@ static void amdgpu_connector_dvi_force(struct drm_connector *connector)
12061206
}
12071207

12081208
/**
1209-
* Returns the maximum supported HDMI (TMDS) pixel clock in KHz.
1209+
* amdgpu_max_hdmi_pixel_clock - Return max supported HDMI (TMDS) pixel clock
1210+
* @adev: pointer to amdgpu_device
1211+
*
1212+
* Return: maximum supported HDMI (TMDS) pixel clock in KHz.
12101213
*/
12111214
static int amdgpu_max_hdmi_pixel_clock(const struct amdgpu_device *adev)
12121215
{
@@ -1219,8 +1222,14 @@ static int amdgpu_max_hdmi_pixel_clock(const struct amdgpu_device *adev)
12191222
}
12201223

12211224
/**
1222-
* Validates the given display mode on DVI and HDMI connectors,
1223-
* including analog signals on DVI-I.
1225+
* amdgpu_connector_dvi_mode_valid - Validate a mode on DVI/HDMI connectors
1226+
* @connector: DRM connector to validate the mode on
1227+
* @mode: display mode to validate
1228+
*
1229+
* Validate the given display mode on DVI and HDMI connectors, including
1230+
* analog signals on DVI-I.
1231+
*
1232+
* Return: drm_mode_status indicating whether the mode is valid.
12241233
*/
12251234
static enum drm_mode_status amdgpu_connector_dvi_mode_valid(struct drm_connector *connector,
12261235
struct drm_display_mode *mode)

0 commit comments

Comments
 (0)