* [linux-next:master 7400/7959] drivers/gpu/drm/amd/amdgpu/soc21.c:128:6: warning: no previous prototype for 'soc21_grbm_select'
@ 2022-04-29 12:56 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-29 12:56 UTC (permalink / raw)
To: Stanley.Yang
Cc: kbuild-all, Linux Memory Management List, Alex Deucher, Hawking Zhang
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 5469f0c06732a077c70a759a81f2a1f00b277694
commit: 71199aa47bbccef3eda9940dc6d457ed0268f7d2 [7400/7959] drm/amdgpu: add soc21 common ip block v2
config: alpha-buildonly-randconfig-r003-20220428 (https://download.01.org/0day-ci/archive/20220429/202204292023.lorNXF5U-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.3.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
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=71199aa47bbccef3eda9940dc6d457ed0268f7d2
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 71199aa47bbccef3eda9940dc6d457ed0268f7d2
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=alpha SHELL=/bin/bash drivers/gpu/drm/amd/amdgpu/
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/soc21.c:128:6: warning: no previous prototype for 'soc21_grbm_select' [-Wmissing-prototypes]
128 | void soc21_grbm_select(struct amdgpu_device *adev,
| ^~~~~~~~~~~~~~~~~
vim +/soc21_grbm_select +128 drivers/gpu/drm/amd/amdgpu/soc21.c
126
127
> 128 void soc21_grbm_select(struct amdgpu_device *adev,
129 u32 me, u32 pipe, u32 queue, u32 vmid)
130 {
131 u32 grbm_gfx_cntl = 0;
132 grbm_gfx_cntl = REG_SET_FIELD(grbm_gfx_cntl, GRBM_GFX_CNTL, PIPEID, pipe);
133 grbm_gfx_cntl = REG_SET_FIELD(grbm_gfx_cntl, GRBM_GFX_CNTL, MEID, me);
134 grbm_gfx_cntl = REG_SET_FIELD(grbm_gfx_cntl, GRBM_GFX_CNTL, VMID, vmid);
135 grbm_gfx_cntl = REG_SET_FIELD(grbm_gfx_cntl, GRBM_GFX_CNTL, QUEUEID, queue);
136
137 WREG32(SOC15_REG_OFFSET(GC, 0, regGRBM_GFX_CNTL), grbm_gfx_cntl);
138 }
139
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-29 12:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-29 12:56 [linux-next:master 7400/7959] drivers/gpu/drm/amd/amdgpu/soc21.c:128:6: warning: no previous prototype for 'soc21_grbm_select' 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