]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Implement get num of hops between two xgmi device
authorshaoyunl <shaoyun.liu@amd.com>
Wed, 17 Apr 2019 18:28:18 +0000 (14:28 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:48 +0000 (12:20 -0500)
commitabf32a56e1f35b9fa38c425052e79445f33eb88a
tree98547fe53ee4003abdc2ab5e41919b60877c6a40
parente9e97971fa1103fcb9994e012ca2c83a7988a6e8
drm/amdgpu: Implement get num of hops between two xgmi device

KFD need to provide the info for upper level to determine the data path

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h