drm/amdgpu: Update latest xgmi topology info after each device is enumulated
authorshaoyunl <shaoyun.liu@amd.com>
Mon, 29 Apr 2019 19:15:41 +0000 (15:15 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:48 +0000 (12:20 -0500)
commite008299ea9a166ae2460ad1445031c40d9de0670
treed873ee3cff94d133df75555fbf5e92bd74e5357f
parent912dfc846aad77e4a61ac39ca92bd7149062e590
drm/amdgpu: Update latest xgmi topology info after each device is enumulated

Adjust the sequence of set/get xgmi topology, so driver can have the latest
XGMI topology info for future usage

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c