Commit 4037bcab authored by Tao Zhou's avatar Tao Zhou Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: remove the check of init status in psp_ras_initialize



[ Upstream commit 3e931368 ]

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: default avatarTao Zhou <tao.zhou1@amd.com>
Reviewed-by: default avatarCandice Li <candice.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Stable-dep-of: 467e00b3 ("drm/amd/amdgpu: Fix missing error return on kzalloc failure")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 85bebac6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment