[linux-next:master 7445/7726] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c:312: warning: expecting prototype for drm_crtc_additional_color_mgmt(). Prototype was for dm_crtc_additional_color_mgmt() instead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   11651f8cb2e88372d4ed523d909514dc9a613ea3
commit: 0f5afa190b890052cae187496f660699f00067ef [7445/7726] drm/amd/display: add CRTC gamma TF driver-specific property
config: i386-buildonly-randconfig-004-20231214 (https://download.01.org/0day-ci/archive/20231214/202312141801.o9eBCxt9-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231214/202312141801.o9eBCxt9-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312141801.o9eBCxt9-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c:312: warning: expecting prototype for drm_crtc_additional_color_mgmt(). Prototype was for dm_crtc_additional_color_mgmt() instead


vim +312 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_crtc.c

   299	
   300	#ifdef AMD_PRIVATE_COLOR
   301	/**
   302	 * drm_crtc_additional_color_mgmt - enable additional color properties
   303	 * @crtc: DRM CRTC
   304	 *
   305	 * This function lets the driver enable post-blending CRTC regamma transfer
   306	 * function property in addition to DRM CRTC gamma LUT. Default value means
   307	 * linear transfer function, which is the default CRTC gamma LUT behaviour
   308	 * without this property.
   309	 */
   310	static void
   311	dm_crtc_additional_color_mgmt(struct drm_crtc *crtc)
 > 312	{
   313		struct amdgpu_device *adev = drm_to_adev(crtc->dev);
   314	
   315		if(adev->dm.dc->caps.color.mpc.ogam_ram)
   316			drm_object_attach_property(&crtc->base,
   317						   adev->mode_info.regamma_tf_property,
   318						   AMDGPU_TRANSFER_FUNCTION_DEFAULT);
   319	}
   320	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux