[radeon-alex:drm-next-5.2-wip 275/283] drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:357: undefined reference to `kgd2kfd_set_sram_ecc_flag'

kbuild test robot lkp at intel.com
Wed Mar 6 06:52:22 UTC 2019


tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-5.2-wip
head:   5b1489e11b0d36226c0192b3ce18f5654fd15243
commit: 09910581cf6218cad6416e53aa0645402d8147be [275/283] drm/amdkfd: add RAS ECC event support (v2)
config: i386-randconfig-m2-201909 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-5) 7.4.0
reproduce:
        git checkout 09910581cf6218cad6416e53aa0645402d8147be
        # save the attached .config to linux build tree
        make ARCH=i386 

All errors (new ones prefixed by >>):

   ld: drivers/gpu/drm/amd/amdgpu/gmc_v9_0.o: in function `gmc_v9_0_process_ras_data_cb':
>> drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:357: undefined reference to `kgd2kfd_set_sram_ecc_flag'
   ld: drivers/gpu/drm/amd/amdgpu/gfx_v9_0.o: in function `gfx_v9_0_process_ras_data_cb':
>> drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c:4808: undefined reference to `kgd2kfd_set_sram_ecc_flag'
   ld: drivers/gpu/drm/amd/amdgpu/sdma_v4_0.o: in function `sdma_v4_0_process_ras_data_cb':
>> drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c:1854: undefined reference to `kgd2kfd_set_sram_ecc_flag'

vim +357 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

   353	
   354	static int gmc_v9_0_process_ras_data_cb(struct amdgpu_device *adev,
   355			struct amdgpu_iv_entry *entry)
   356	{
 > 357		kgd2kfd_set_sram_ecc_flag(adev->kfd.dev);
   358		amdgpu_ras_reset_gpu(adev, 0);
   359		return AMDGPU_RAS_UE;
   360	}
   361	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 30065 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190306/3638484f/attachment-0001.gz>


More information about the dri-devel mailing list