]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 16:54:23 +0000 (18:54 +0200)
commit4037bcabdd4cb03011688c3e74f3d17dd3b82fe1
tree5edddc561def9b67bfd35b1c8bece41a94f8e130
parent85bebac63762c3946de17d5d075c38eafe6e3d06
drm/amdgpu: remove the check of init status in psp_ras_initialize

[ Upstream commit 3e931368091f7d5d7902cee9d410eb6db2eea419 ]

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>
Stable-dep-of: 467e00b30dfe ("drm/amd/amdgpu: Fix missing error return on kzalloc failure")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c