drm/amdkfd: Adjust weight to represent num_hops info when report xgmi iolink
authorshaoyunl <shaoyun.liu@amd.com>
Wed, 17 Apr 2019 18:34:07 +0000 (14:34 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:48 +0000 (12:20 -0500)
commit0fb0df031acdb6f17603cb32be13a2d1a858e249
treea57fe75ce53037b48bbc7f56772c2b8108bb3ea9
parentda361dd13f4fb766445f55bbd2eec36c73a9b1bb
drm/amdkfd: Adjust weight to represent num_hops info when report xgmi iolink

Upper level runtime need the xgmi hops info 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/amdkfd/kfd_crat.c
drivers/gpu/drm/amd/amdkfd/kfd_crat.h