diff options
| author | Hawking Zhang <[email protected]> | 2020-02-24 07:36:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-02-26 19:17:32 +0000 |
| commit | 19744f5f2dff50290f0767a68c0dc418c1a59cec (patch) | |
| tree | 3f3fe3d06fec8d1b59bd9319aed6823aea9dfc3d /drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | |
| parent | drm/amdgpu: add dpm helper function for DF Cstate control (diff) | |
| download | kernel-19744f5f2dff50290f0767a68c0dc418c1a59cec.tar.gz kernel-19744f5f2dff50290f0767a68c0dc418c1a59cec.zip | |
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 <[email protected]>
Acked-by: Evan Quan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h index c62a4acf4c14..2aa61adee459 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.h @@ -46,6 +46,8 @@ int amdgpu_xgmi_get_hops_count(struct amdgpu_device *adev, struct amdgpu_device *peer_adev); int amdgpu_xgmi_ras_late_init(struct amdgpu_device *adev); void amdgpu_xgmi_ras_fini(struct amdgpu_device *adev); +uint64_t amdgpu_xgmi_get_relative_phy_addr(struct amdgpu_device *adev, + uint64_t addr); static inline bool amdgpu_xgmi_same_hive(struct amdgpu_device *adev, struct amdgpu_device *bo_adev) |
