From: TAKANO Mitsuhiro <takano32@gmail.com>
To: Harry Wentland <harry.wentland@amd.com>, amd-gfx@lists.freedesktop.org
Cc: Leo Li <sunpeng.li@amd.com>,
Rodrigo Siqueira <siqueira@igalia.com>,
Alex Deucher <alexander.deucher@amd.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
TAKANO Mitsuhiro <takano32@gmail.com>
Subject: [PATCH] drm/amd/display: Fix three kernel-doc warnings in dc.h
Date: Wed, 25 Nov 2026 19:38:13 +0000 [thread overview]
Message-ID: <20261125193813.2444470-1-takano32@gmail.com> (raw)
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 <takano32@gmail.com>
---
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
reply other threads:[~2026-11-25 19:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261125193813.2444470-1-takano32@gmail.com \
--to=takano32@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=siqueira@igalia.com \
--cc=sunpeng.li@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®