drm/amdkfd: report pcie bandwidth to the kfd
authorJonathan Kim <jonathan.kim@amd.com>
Wed, 2 Jun 2021 13:46:16 +0000 (09:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Jul 2021 14:07:59 +0000 (10:07 -0400)
commit933048103837710b6996d5487e5fcbc320b81503
tree43a4726491a00fc590d6e3bafdd77273057a2c3d
parent3f46c4e9ce25bbcb9d619dbce57c8737c856b272
drm/amdkfd: report pcie bandwidth to the kfd

Similar to xGMI reporting the min/max bandwidth between direct peers, PCIe
will report the min/max bandwidth to the KFD.

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/amdkfd/kfd_crat.c