From: kernel test robot <lkp@intel.com>
To: Leo Li <sunpeng.li@amd.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
Linux Memory Management List <linux-mm@kvack.org>,
Alex Deucher <alexander.deucher@amd.com>,
Harry Wentland <Harry.Wentland@amd.com>
Subject: [linux-next:master 10747/11059] drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_optc.c:139:6: warning: no previous prototype for function 'optc1_set_vupdate_keepout'
Date: Fri, 9 Apr 2021 04:54:46 +0800 [thread overview]
Message-ID: <202104090443.7O4Ofu6n-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3839 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6145d80cfc62e3ed8f16ff584d6287e6d88b82b9
commit: 225e300745b5bbec1405f0ba67a13739061be3a4 [10747/11059] drm/amd/display: Move vupdate keepout programming from DCN20 to DCN10
config: x86_64-randconfig-a013-20210408 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 56ea2e2fdd691136d5e6631fa0e447173694b82c)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=225e300745b5bbec1405f0ba67a13739061be3a4
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 225e300745b5bbec1405f0ba67a13739061be3a4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_optc.c:139:6: warning: no previous prototype for function 'optc1_set_vupdate_keepout' [-Wmissing-prototypes]
void optc1_set_vupdate_keepout(struct timing_generator *optc,
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_optc.c:139:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void optc1_set_vupdate_keepout(struct timing_generator *optc,
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_optc.c:879:6: warning: no previous prototype for function 'optc1_setup_manual_trigger' [-Wmissing-prototypes]
void optc1_setup_manual_trigger(struct timing_generator *optc)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_optc.c:879:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void optc1_setup_manual_trigger(struct timing_generator *optc)
^
static
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_optc.c:897:6: warning: no previous prototype for function 'optc1_program_manual_trigger' [-Wmissing-prototypes]
void optc1_program_manual_trigger(struct timing_generator *optc)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_optc.c:897:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void optc1_program_manual_trigger(struct timing_generator *optc)
^
static
3 warnings generated.
vim +/optc1_set_vupdate_keepout +139 drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_optc.c
133
134 /**
135 * Vupdate keepout can be set to a window to block the update lock for that pipe from changing.
136 * Start offset begins with vstartup and goes for x number of clocks,
137 * end offset starts from end of vupdate to x number of clocks.
138 */
> 139 void optc1_set_vupdate_keepout(struct timing_generator *optc,
140 struct vupdate_keepout_params *params)
141 {
142 struct optc *optc1 = DCN10TG_FROM_TG(optc);
143
144 REG_SET_3(OTG_VUPDATE_KEEPOUT, 0,
145 MASTER_UPDATE_LOCK_VUPDATE_KEEPOUT_START_OFFSET, params->start_offset,
146 MASTER_UPDATE_LOCK_VUPDATE_KEEPOUT_END_OFFSET, params->end_offset,
147 OTG_MASTER_UPDATE_LOCK_VUPDATE_KEEPOUT_EN, params->enable);
148 }
149
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 35439 bytes --]
reply other threads:[~2021-04-08 20:55 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=202104090443.7O4Ofu6n-lkp@intel.com \
--to=lkp@intel.com \
--cc=Harry.Wentland@amd.com \
--cc=alexander.deucher@amd.com \
--cc=clang-built-linux@googlegroups.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-mm@kvack.org \
--cc=sunpeng.li@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).