tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next head: c9115f8904eef0f880d3b4f8306f553b1bb1c532 commit: c9115f8904eef0f880d3b4f8306f553b1bb1c532 [2/2] drm/amdgpu: XGMI pstate switch initial support reproduce: # apt-get install sparse git checkout c9115f8904eef0f880d3b4f8306f553b1bb1c532 make ARCH=x86_64 allmodconfig make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:338:1: sparse: warning: no newline at end of file
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c:37:6: sparse: warning: symbol 'amdgpu_xgmi_hive_try_lock' was not declared. Should it be static?
vim +338 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
325 326 int amdgpu_xgmi_set_pstate(struct amdgpu_device *adev, int pstate) 327 { 328 int ret = 0; 329 struct amdgpu_hive_info *hive = amdgpu_get_xgmi_hive(adev, 0); 330 331 if (!hive) 332 return 0; 333 334 if (hive->pstate == pstate) 335 return 0; 336 /* Todo : sent the message to SMU for pstate change */ 337 return ret;
338 }
--- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation