diff options
| author | YiPeng Chai <YiPeng.Chai@amd.com> | 2022-08-12 13:38:34 +0800 | 
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2022-08-22 16:47:09 -0400 | 
| commit | d8adafc7feb86b61fc483bb58b30028e6fb919d7 (patch) | |
| tree | 3606dc1db263d5846eb3eabf9bef50eee84a8c4f /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | 95a72fb73c5900f1b8f00b2559179760ddb729ac (diff) | |
drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to psp_hw_fini
V1:
The amdgpu_xgmi_remove_device function will send unload command
to psp through psp ring to terminate xgmi, but psp ring has been
destroyed in psp_hw_fini.
V2:
1. Change the commit title.
2. Restore amdgpu_xgmi_remove_device to its original calling location.
   Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to
   psp_hw_fini.
Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
