OSDN Git Service

drm/amdgpu: remove the check of init status in psp_ras_initialize
authorTao Zhou <tao.zhou1@amd.com>
Thu, 10 Nov 2022 06:37:08 +0000 (14:37 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 10 Nov 2022 20:29:32 +0000 (15:29 -0500)
commit3e931368091f7d5d7902cee9d410eb6db2eea419
tree01e4f5a4a9549e66fc9b49be4ede984f6ee01899
parenta1903b01b0997626a4f2a60accf92bff5d5379a6
drm/amdgpu: remove the check of init status in psp_ras_initialize

The initialized status indicates RAS TA is loaded, but in some cases
(such as RAS fatal error) RAS TA could be destroyed although it's not
unloaded. Hence we load RAS TA unconditionally here.

Signed-off-by: Tao Zhou <tao.zhou1@amd.com>
Reviewed-by: Candice Li <candice.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c