Re: [PATCH 1/2] drm/amd/display: Document the union in dc_probe_status

From: Weijie Yuan

Date: Sun Nov 22 2026 - 23:20:07 EST


On Sat, Nov 21, 2026 at 04:14:26AM +0000, TAKANO Mitsuhiro wrote:
> The members of the union in dc_probe_status are described one by one as
> @u.bandwidth_mbps and so on, but the union itself has no description, so
> kernel-doc reports:
>
> dc.h:2225 struct member 'u' not described in
> 'dc_probe_status'
>
> Describe it, saying that the member holding the result depends on the
> probe type.
>
> Written with Hermes Agent, an LLM assistant; the author reviewed it and
> ran kernel-doc on the file with and without the change.

The disclosure is appreciated but better put it ..

> Fixes: 52771a3254ea ("drm/amd/display: Wire probe commit path into dc_update_state")
> Signed-off-by: TAKANO Mitsuhiro <takano32@xxxxxxxxx>
> ---

.. here.

Thanks for doing this.

> drivers/gpu/drm/amd/display/dc/dc.h | 1 +
> 1 file changed, 1 insertion(+)