Commit e79a04d5 authored by xinhui pan's avatar xinhui pan Committed by Alex Deucher

drm/amdgpu: gpu reset will run ras post init

ras need initialize proper state after late init
Signed-off-by: default avatarxinhui pan <xinhui.pan@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9708a318
...@@ -3498,6 +3498,9 @@ static int amdgpu_do_asic_reset(struct amdgpu_hive_info *hive, ...@@ -3498,6 +3498,9 @@ static int amdgpu_do_asic_reset(struct amdgpu_hive_info *hive,
if (r) if (r)
goto out; goto out;
/* must succeed. */
amdgpu_ras_post_init(tmp_adev);
/* Update PSP FW topology after reset */ /* Update PSP FW topology after reset */
if (hive && tmp_adev->gmc.xgmi.num_physical_nodes > 1) if (hive && tmp_adev->gmc.xgmi.num_physical_nodes > 1)
r = amdgpu_xgmi_update_topology(hive, tmp_adev); r = amdgpu_xgmi_update_topology(hive, tmp_adev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment