]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: report xgmi bandwidth between direct peers to the kfd
authorJonathan Kim <jonathan.kim@amd.com>
Wed, 12 May 2021 16:30:41 +0000 (12:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:07:59 +0000 (10:07 -0400)
commit753d8444ece972a25bc44fd06331cdfe55c22e58
tree770486122e37b2b72b14c3a27f6b31b8f4005071
parent6cd4f6caacf866faeab29861e42b81a944141996
drm/amdkfd: report xgmi bandwidth between direct peers to the kfd

Report the min/max bandwidth in megabytes to the kfd for direct
xgmi connections only.  Indirect peers will report 0 since
indirect route is unknown.

Signed-off-by: Jonathan Kim <jonathan.kim@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_xgmi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h
drivers/gpu/drm/amd/amdkfd/kfd_crat.c