kernel-doc reports three problems in the DC interface header: Warning: dc.h:329 struct member 'max_gamut_remap_coeff' not described in 'mpc_color_caps' Warning: dc.h:2225 struct member 'u' not described in 'dc_probe_status' Warning: dc.h:3883 This comment starts with '/**', but isn't a kernel-doc comment.
Describe the two members, and turn the comment above the panel polarity helpers into a plain one, since it documents no symbol. Verification: kernel-doc -none drivers/gpu/drm/amd/display/dc/dc.h prints three warnings before the change and nothing after it. Signed-off-by: TAKANO Mitsuhiro <[email protected]> --- drivers/gpu/drm/amd/display/dc/dc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h index d3c484f45333..b8b2af988b71 100644 --- a/drivers/gpu/drm/amd/display/dc/dc.h +++ b/drivers/gpu/drm/amd/display/dc/dc.h @@ -314,6 +314,7 @@ struct lut3d_caps { * @mcm_3d_lut_caps: HW support cap for MCM LUT memory * @rmcm_3d_lut_caps: HW support cap for RMCM LUT memory * @preblend: whether color manager supports preblend with MPC + * @max_gamut_remap_coeff: largest coefficient the gamut remap matrix allows */ struct mpc_color_caps { uint16_t gamut_remap : 1; @@ -2207,6 +2208,7 @@ struct dc_probe_latencies { * @valid: true if a measurement was latched. * @measuring: true if the hardware counter is currently running. * @type: type of the probe that produced this result. + * @u: the result, whose member depends on @type. * @u.bandwidth_mbps: peak BW in Mbps (DC_PROBE_PEAK_MEM_BW). * @u.latency: min/max/avg memory latency in ns (DC_PROBE_MEM_LATENCY), * stored as struct dc_probe_latencies. @@ -3880,7 +3882,7 @@ unsigned int dc_override_memory_bandwidth_request( struct dc *dc, unsigned int bw_mbps); -/** +/* * Panel Polarity Control */ void dc_link_set_panel_polarity_enable(struct dc_link *link, bool enable); base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f -- 2.53.0
