Revert "drm/amdgpu: No longer insert ras blocks into ras_list if it already exists...
authoryipechai <YiPeng.Chai@amd.com>
Wed, 19 Jan 2022 08:49:42 +0000 (16:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Jan 2022 23:00:34 +0000 (18:00 -0500)
commite9287ef8d46cee538c9a71bb8978b2f7e975c452
tree43a2e8214f0c6dfa77a6485db2f73146af0e45f2
parent1f33bd18d703ecdf7b664168d640439e867d1605
Revert "drm/amdgpu: No longer insert ras blocks into ras_list if it already exists in ras_list"

This reverts commit df4f0041c6ef497e598a67e367db835489162754.

Xgmi ras initialization had been moved from .late_init to early_init,
the defect of repeated calling amdgpu_ras_register_ras_block had been
fixed, so revert this patch.

Signed-off-by: yipechai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c