* [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
@ 2023-12-14 11:01 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-14 11:01 UTC (permalink / raw)
To: Melissa Wen
Cc: oe-kbuild-all, Linux Memory Management List, Alex Deucher,
Harry Wentland, Joshua Ashton
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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312141801.o9eBCxt9-lkp@intel.com/
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-14 11:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-14 11:01 [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 kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox