[PATCH] drm/amd/display: Fix kernel docs for struct mpc_color_caps
Alex Deucher
alexdeucher at gmail.com
Wed Jul 16 20:40:59 UTC 2025
On Wed, Jul 16, 2025 at 4:36 PM Alex Hung <alex.hung at amd.com> wrote:
>
> [WHAT & HOW]
> Add kernel-doc for a new struct member "num_rmcm_3dluts".
>
> This fixes the follow warnings from "make htmldocs".
>
> ./drivers/gpu/drm/amd/display/dc/dc.h:255: warning: Function parameter
> or struct member 'num_rmcm_3dluts' not described in 'mpc_color_caps'
>
> Reviewed-by: Yihan Zhu <Yihan.Zhu at amd.com>
> Signed-off-by: Alex Hung <alex.hung at amd.com>
Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
Fixes: 26ad78fffc66 ("drm/amd/display: MPC basic allocation logic and TMZ")
> ---
> drivers/gpu/drm/amd/display/dc/dc.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dc.h b/drivers/gpu/drm/amd/display/dc/dc.h
> index 59c07756130d..fac976b2cbee 100644
> --- a/drivers/gpu/drm/amd/display/dc/dc.h
> +++ b/drivers/gpu/drm/amd/display/dc/dc.h
> @@ -234,6 +234,7 @@ struct lut3d_caps {
> * @ogam_ram: programmable out gamma LUT
> * @ocsc: output color space conversion matrix
> * @num_3dluts: MPC 3D LUT; always assumes a preceding shaper LUT
> + * @num_rmcm_3dluts: number of RMCM hardware instances
> * @shared_3d_lut: shared 3D LUT flag. Can be either DPP or MPC, but single
> * instance
> * @ogam_rom_caps: pre-definied curve caps for regamma 1D LUT
> --
> 2.43.0
>
More information about the dri-devel
mailing list