]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4125e6470ec03f86b6ac429226c4fb1016749b5c
tree2bba2ce403aa053e403f3edc2422e7eac83b92f7
parent0d6522ddb41cac448ac04222bd4f25d173a5f292
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