Messages in this thread | | | Date | Thu, 5 May 2022 06:27:00 +0800 | From | kernel test robot <> | Subject | [agd5f:drm-next 429/460] drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c:1945:6: warning: no previous prototype for 'gfx_v11_0_rlc_stop' |
| |
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next head: d6ffefccf7f04eefddc8e8aa35fb4afe05a42e0c commit: 3d879e81f0f9ed5d33b5eda0fe5226c884bb8073 [429/460] drm/amdgpu: add init support for GFX11 (v2) config: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220505/202205050625.OzD5MeoT-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 git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git git fetch --no-tags agd5f drm-next git checkout 3d879e81f0f9ed5d33b5eda0fe5226c884bb8073 # 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/gfx_v11_0.c:1945:6: warning: no previous prototype for 'gfx_v11_0_rlc_stop' [-Wmissing-prototypes] 1945 | void gfx_v11_0_rlc_stop(struct amdgpu_device *adev) | ^~~~~~~~~~~~~~~~~~
vim +/gfx_v11_0_rlc_stop +1945 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
1944 > 1945 void gfx_v11_0_rlc_stop(struct amdgpu_device *adev) 1946 { 1947 u32 tmp = RREG32_SOC15(GC, 0, regRLC_CNTL); 1948 1949 tmp = REG_SET_FIELD(tmp, RLC_CNTL, RLC_ENABLE_F32, 0); 1950 WREG32_SOC15(GC, 0, regRLC_CNTL, tmp); 1951 } 1952
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |