All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Melissa Wen <mwen@igalia.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Alex Deucher <alexander.deucher@amd.com>,
	Harry Wentland <harry.wentland@amd.com>,
	Joshua Ashton <joshua@froggi.es>
Subject: [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: Thu, 14 Dec 2023 19:01:34 +0800	[thread overview]
Message-ID: <202312141801.o9eBCxt9-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-12-14 11:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202312141801.o9eBCxt9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alexander.deucher@amd.com \
    --cc=harry.wentland@amd.com \
    --cc=joshua@froggi.es \
    --cc=linux-mm@kvack.org \
    --cc=mwen@igalia.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.