[PATCH] drm/amd/display: fix documentation for dm_crtc_additional_color_mgmt()

Deucher, Alexander Alexander.Deucher at amd.com
Thu Dec 14 20:07:06 UTC 2023


[Public]

> -----Original Message-----
> From: Melissa Wen <mwen at igalia.com>
> Sent: Thursday, December 14, 2023 2:45 PM
> To: Wentland, Harry <Harry.Wentland at amd.com>; Li, Sun peng (Leo)
> <Sunpeng.Li at amd.com>; Siqueira, Rodrigo <Rodrigo.Siqueira at amd.com>;
> Deucher, Alexander <Alexander.Deucher at amd.com>; Koenig, Christian
> <Christian.Koenig at amd.com>; Pan, Xinhui <Xinhui.Pan at amd.com>;
> airlied at gmail.com; daniel at ffwll.ch
> Cc: kernel test robot <lkp at intel.com>; amd-gfx at lists.freedesktop.org; dri-
> devel at lists.freedesktop.org; kernel-dev at igalia.com
> Subject: [PATCH] drm/amd/display: fix documentation for
> dm_crtc_additional_color_mgmt()
>
> warning: expecting prototype for drm_crtc_additional_color_mgmt().
> Prototype was for dm_crtc_additional_color_mgmt() instead
>
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202312141801.o9eBCxt9-
> lkp at intel.com/
> Signed-off-by: Melissa Wen <mwen at igalia.com>

Applied.  Thanks!

Alex

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
> b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
> index 8b3aa674741d..4439e5a27362 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
> @@ -292,7 +292,7 @@ static int amdgpu_dm_crtc_late_register(struct
> drm_crtc *crtc)
>
>  #ifdef AMD_PRIVATE_COLOR
>  /**
> - * drm_crtc_additional_color_mgmt - enable additional color properties
> + * dm_crtc_additional_color_mgmt - enable additional color properties
>   * @crtc: DRM CRTC
>   *
>   * This function lets the driver enable post-blending CRTC regamma transfer
> --
> 2.42.0



More information about the amd-gfx mailing list