drm/amdkfd: report the numa weight between host and device over xgmi
authorJonathan Kim <jonathan.kim@amd.com>
Wed, 21 Apr 2021 19:08:18 +0000 (15:08 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:06:43 +0000 (18:06 -0400)
commit559f418ed663f43071457328b3ff18dfeb5bf2e6
tree2bba2ce403aa053e403f3edc2422e7eac83b92f7
parentdeb689832ff6a88abfe838b6cea779cb9381c59f
drm/amdkfd: report the numa weight between host and device over xgmi

GPUs connected to CPUs over xGMI are bidirectional so set weight by a
single hop both ways.

Signed-off-by: Jonathan Kim <jonathan.kim@amd.com>
Tested-by: Ramesh Errabolu <ramesh.errabolu@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_crat.c