OSDN Git Service

drm/amdgpu : Generate XGMI topology info from driver level
authorShaoyun Liu <Shaoyun.Liu@amd.com>
Wed, 27 Jun 2018 21:25:53 +0000 (17:25 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Sep 2018 03:47:52 +0000 (22:47 -0500)
commitfb30fc59a245512b94a065ee1557d7e1ae88484a
treed28b60f53e3a112066e761bc825fc0d573f2b4d7
parent78122127a4180306e2360b7a9e418eed21f76cf3
drm/amdgpu : Generate XGMI topology info from driver level

Driver will save an array of XGMI hive info, each hive will have a list of devices
that have the same hive ID.

Signed-off-by: Shaoyun Liu <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/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c [new file with mode: 0644]