drm/amdgpu: move get_xgmi_relative_phy_addr to amdgpu_xgmi.c
authorHawking Zhang <Hawking.Zhang@amd.com>
Mon, 24 Feb 2020 07:36:13 +0000 (15:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 26 Feb 2020 19:17:32 +0000 (14:17 -0500)
commit19744f5f2dff50290f0767a68c0dc418c1a59cec
tree3f3fe3d06fec8d1b59bd9319aed6823aea9dfc3d
parent53e0f1e6beb0fbe83b3be611f717962681dfcef0
drm/amdgpu: move get_xgmi_relative_phy_addr to amdgpu_xgmi.c

centralize all the xgmi related function to amdgpu_xgmi.c

Signed-off-by: Hawking Zhang <Hawking.Zhang@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_ras.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h