]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb7d34f7202ee78e5ef7d90cefdf6a17d9215ac09
tree43a2e8214f0c6dfa77a6485db2f73146af0e45f2
parentc398949cdcbeee36f7dc0e25caebf679497f2228
Revert "drm/amdgpu: No longer insert ras blocks into ras_list if it already exists in ras_list"

This reverts commit 9526834052f660b0a85a2968b7c890f3c544f1b7.

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