All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Alex Hung <alex.hung@amd.com>
Cc: oe-kbuild-all@lists.linux.dev,
	Alex Deucher <alexander.deucher@amd.com>,
	Hersen Wu <hersenxs.wu@amd.com>,
	Wenchieh Chien <wenchieh.chien@amd.com>
Subject: [agd5f:drm-next 121/143] drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6349:6: warning: no previous prototype for 'amdgpu_dm_connector_funcs_force'
Date: Tue, 25 Apr 2023 16:34:18 +0800	[thread overview]
Message-ID: <202304251640.JClqTim9-lkp@intel.com> (raw)

tree:   https://gitlab.freedesktop.org/agd5f/linux.git drm-next
head:   6d3435e2e3031a3541f5e23bba4d54eff78eb9fa
commit: 0ba4a784a14592abed41873e339eab78ceb6e230 [121/143] drm/amd/display: implement force function in amdgpu_dm_connector_funcs
config: sparc-allyesconfig (https://download.01.org/0day-ci/archive/20230425/202304251640.JClqTim9-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
        git fetch --no-tags agd5f drm-next
        git checkout 0ba4a784a14592abed41873e339eab78ceb6e230
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc olddefconfig
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash drivers/gpu/drm/

If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304251640.JClqTim9-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6349:6: warning: no previous prototype for 'amdgpu_dm_connector_funcs_force' [-Wmissing-prototypes]
    6349 | void amdgpu_dm_connector_funcs_force(struct drm_connector *connector)
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'create_eml_sink':
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:6405:21: warning: variable 'count' set but not used [-Wunused-but-set-variable]
    6405 |                 int count;
         |                     ^~~~~


vim +/amdgpu_dm_connector_funcs_force +6349 drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c

  6348	
> 6349	void amdgpu_dm_connector_funcs_force(struct drm_connector *connector)
  6350	{
  6351		struct amdgpu_dm_connector *aconnector = to_amdgpu_dm_connector(connector);
  6352		struct dc_link *dc_link = aconnector->dc_link;
  6353		struct dc_sink *dc_em_sink = aconnector->dc_em_sink;
  6354		struct edid *edid;
  6355	
  6356		if (!connector->edid_override)
  6357			return;
  6358	
  6359		drm_edid_override_connector_update(&aconnector->base);
  6360		edid = aconnector->base.edid_blob_ptr->data;
  6361		aconnector->edid = edid;
  6362	
  6363		/* Update emulated (virtual) sink's EDID */
  6364		if (dc_em_sink && dc_link) {
  6365			memset(&dc_em_sink->edid_caps, 0, sizeof(struct dc_edid_caps));
  6366			memmove(dc_em_sink->dc_edid.raw_edid, edid, (edid->extensions + 1) * EDID_LENGTH);
  6367			dm_helpers_parse_edid_caps(
  6368				dc_link,
  6369				&dc_em_sink->dc_edid,
  6370				&dc_em_sink->edid_caps);
  6371		}
  6372	}
  6373	

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

                 reply	other threads:[~2023-04-25  8:34 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=202304251640.JClqTim9-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alex.hung@amd.com \
    --cc=alexander.deucher@amd.com \
    --cc=hersenxs.wu@amd.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=wenchieh.chien@amd.com \
    /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.