tree:
https://gitlab.freedesktop.org/agd5f/linux.git amd-staging-drm-next
head: dec2310256916626e4356af784822e02fb807cad
commit: c271eaa4a616a4c09dc289cb5bb6dd6b1f391725 [1841/1993] drm/amd/swsmu: add aldebaran
smu13 ip support (v3)
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.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 amd-staging-drm-next
git checkout c271eaa4a616a4c09dc289cb5bb6dd6b1f391725
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/aldebaran_ppt.c: In function
'aldebaran_is_dpm_running':
>
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/aldebaran_ppt.c:1095:6: warning: variable
'ret' set but not used [-Wunused-but-set-variable]
1095 | int ret = 0;
| ^~~
vim +/ret +1095 drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/aldebaran_ppt.c
1092
1093 static bool aldebaran_is_dpm_running(struct smu_context *smu)
1094 {
1095 int ret = 0;
1096 uint32_t feature_mask[2];
1097 unsigned long feature_enabled;
1098 ret = smu_cmn_get_enabled_mask(smu, feature_mask, 2);
1099 feature_enabled = (unsigned long)((uint64_t)feature_mask[0] |
1100 ((uint64_t)feature_mask[1] << 32));
1101 return !!(feature_enabled & SMC_DPM_FEATURE);
1102 }
1103
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org