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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Oct 2022 19:12:08 +0000 (15:12 -0400)
commitbf7d777289d106963fd2080d298e6b88b7263b66
tree027a4f79e6b6d202534763e8ca3a1615cb468c73
parent9682069a03c1ff031a67d80e7a58cf2b11d7f758
drm/amdgpu: Optimize RAS TA initialization and TA unload funcs

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c