Message ID | 20231214194533.444097-1-mwen@igalia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/amd/display: fix documentation for dm_crtc_additional_color_mgmt() | expand |
[Public] > -----Original Message----- > From: Melissa Wen <mwen@igalia.com> > Sent: Thursday, December 14, 2023 2:45 PM > To: Wentland, Harry <Harry.Wentland@amd.com>; Li, Sun peng (Leo) > <Sunpeng.Li@amd.com>; Siqueira, Rodrigo <Rodrigo.Siqueira@amd.com>; > Deucher, Alexander <Alexander.Deucher@amd.com>; Koenig, Christian > <Christian.Koenig@amd.com>; Pan, Xinhui <Xinhui.Pan@amd.com>; > airlied@gmail.com; daniel@ffwll.ch > Cc: kernel test robot <lkp@intel.com>; amd-gfx@lists.freedesktop.org; dri- > devel@lists.freedesktop.org; kernel-dev@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@intel.com> > Closes: https://lore.kernel.org/oe-kbuild-all/202312141801.o9eBCxt9- > lkp@intel.com/ > Signed-off-by: Melissa Wen <mwen@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
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
warning: expecting prototype for drm_crtc_additional_color_mgmt(). Prototype was for dm_crtc_additional_color_mgmt() instead Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202312141801.o9eBCxt9-lkp@intel.com/ Signed-off-by: Melissa Wen <mwen@igalia.com> --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)