]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: Optimize RAS TA initialization and TA unload funcs
authorCandice Li <candice.li@amd.com>
Tue, 25 Oct 2022 10:07:44 +0000 (18:07 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 9 Sep 2025 16:54:22 +0000 (18:54 +0200)
commit85bebac63762c3946de17d5d075c38eafe6e3d06
treeffed635c6264134a4961b0d238a4325ce62e05c3
parent785f72d1f8d800a6adba3402a88b7d7f37c98638
drm/amdgpu: Optimize RAS TA initialization and TA unload funcs

[ Upstream commit bf7d777289d106963fd2080d298e6b88b7263b66 ]

1. Save TA unload psp response status
2. Add RAS TA loading status check for initializaiton
3. Drop RAS context teardown to allow RAS TA to be reloaded

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-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