Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/dp: fix all kernel-doc warnings

Correct and add kernel-doc comments to eliminate all warnings:

Warning: ../drivers/gpu/drm/msm/dp/dp_debug.h:31 expecting prototype for
msm_dp_debug_get(). Prototype was for msm_dp_debug_init() instead
Warning: ../drivers/gpu/drm/msm/dp/dp_drm.c:24 function parameter
'connector' not described in 'msm_dp_bridge_detect'
Warning: ../drivers/gpu/drm/msm/dp/dp_link.h:90 expecting prototype for
mdss_dp_test_bit_depth_to_bpp(). Prototype was for
msm_dp_link_bit_depth_to_bpp() instead
Warning: ../drivers/gpu/drm/msm/dp/dp_link.h:126 function parameter
'aux' not described in 'msm_dp_link_get'
Warning: ../drivers/gpu/drm/msm/dp/dp_link.h:126 function parameter
'dev' not described in 'msm_dp_link_get'
Warning: ../drivers/gpu/drm/msm/dp/dp_panel.h:70 function parameter
'bw_code' not described in 'is_link_rate_valid'
Warning: ../drivers/gpu/drm/msm/dp/dp_panel.h:84 expecting prototype for
msm_dp_link_is_lane_count_valid(). Prototype was for
is_lane_count_valid() instead

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Patchwork: https://patchwork.freedesktop.org/patch/695647/
Link: https://lore.kernel.org/r/20251219184638.1813181-3-rdunlap@infradead.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>

authored by

Randy Dunlap and committed by
Dmitry Baryshkov
23bee889 a50d8777

+11 -9
+1 -1
drivers/gpu/drm/msm/dp/dp_debug.h
··· 12 12 #if defined(CONFIG_DEBUG_FS) 13 13 14 14 /** 15 - * msm_dp_debug_get() - configure and get the DisplayPlot debug module data 15 + * msm_dp_debug_init() - configure and get the DisplayPlot debug module data 16 16 * 17 17 * @dev: device instance of the caller 18 18 * @panel: instance of panel module
+1
drivers/gpu/drm/msm/dp/dp_drm.c
··· 18 18 /** 19 19 * msm_dp_bridge_detect - callback to determine if connector is connected 20 20 * @bridge: Pointer to drm bridge structure 21 + * @connector: Pointer to drm connector structure 21 22 * Returns: Bridge's 'is connected' status 22 23 */ 23 24 static enum drm_connector_status
+5 -4
drivers/gpu/drm/msm/dp/dp_link.h
··· 80 80 }; 81 81 82 82 /** 83 - * mdss_dp_test_bit_depth_to_bpp() - convert test bit depth to bpp 83 + * msm_dp_link_bit_depth_to_bpp() - convert test bit depth to bpp 84 84 * @tbd: test bit depth 85 85 * 86 - * Returns the bits per pixel (bpp) to be used corresponding to the 87 - * git bit depth value. This function assumes that bit depth has 86 + * Returns: the bits per pixel (bpp) to be used corresponding to the 87 + * bit depth value. This function assumes that bit depth has 88 88 * already been validated. 89 89 */ 90 90 static inline u32 msm_dp_link_bit_depth_to_bpp(u32 tbd) ··· 120 120 121 121 /** 122 122 * msm_dp_link_get() - get the functionalities of dp test module 123 - * 123 + * @dev: kernel device structure 124 + * @aux: DisplayPort AUX channel 124 125 * 125 126 * return: a pointer to msm_dp_link struct 126 127 */
+4 -4
drivers/gpu/drm/msm/dp/dp_panel.h
··· 63 63 64 64 /** 65 65 * is_link_rate_valid() - validates the link rate 66 - * @lane_rate: link rate requested by the sink 66 + * @bw_code: link rate requested by the sink 67 67 * 68 - * Returns true if the requested link rate is supported. 68 + * Returns: true if the requested link rate is supported. 69 69 */ 70 70 static inline bool is_link_rate_valid(u32 bw_code) 71 71 { ··· 76 76 } 77 77 78 78 /** 79 - * msm_dp_link_is_lane_count_valid() - validates the lane count 79 + * is_lane_count_valid() - validates the lane count 80 80 * @lane_count: lane count requested by the sink 81 81 * 82 - * Returns true if the requested lane count is supported. 82 + * Returns: true if the requested lane count is supported. 83 83 */ 84 84 static inline bool is_lane_count_valid(u32 lane_count) 85 85 {