Skip to content

Commit 77d8c1e

Browse files
srishanmgregkh
authored andcommitted
drm/amdgpu: Fix function header names in amdgpu_connectors.c
commit 38ab33dbea594700c8d6cc81eec0a54e95d3eb2f 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: 585b2f685c56 ("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 9ea5d97 commit 77d8c1e

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

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

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

11981198
/**
1199-
* Returns the maximum supported HDMI (TMDS) pixel clock in KHz.
1199+
* amdgpu_max_hdmi_pixel_clock - Return max supported HDMI (TMDS) pixel clock
1200+
* @adev: pointer to amdgpu_device
1201+
*
1202+
* Return: maximum supported HDMI (TMDS) pixel clock in KHz.
12001203
*/
12011204
static int amdgpu_max_hdmi_pixel_clock(const struct amdgpu_device *adev)
12021205
{
@@ -1209,8 +1212,14 @@ static int amdgpu_max_hdmi_pixel_clock(const struct amdgpu_device *adev)
12091212
}
12101213

12111214
/**
1212-
* Validates the given display mode on DVI and HDMI connectors,
1213-
* including analog signals on DVI-I.
1215+
* amdgpu_connector_dvi_mode_valid - Validate a mode on DVI/HDMI connectors
1216+
* @connector: DRM connector to validate the mode on
1217+
* @mode: display mode to validate
1218+
*
1219+
* Validate the given display mode on DVI and HDMI connectors, including
1220+
* analog signals on DVI-I.
1221+
*
1222+
* Return: drm_mode_status indicating whether the mode is valid.
12141223
*/
12151224
static enum drm_mode_status amdgpu_connector_dvi_mode_valid(struct drm_connector *connector,
12161225
const struct drm_display_mode *mode)

0 commit comments

Comments
 (0)