drm/amdgpu: Use indirect buffer and save response status for TA load/invoke
authorCandice Li <candice.li@amd.com>
Sun, 17 Apr 2022 09:39:46 +0000 (17:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Apr 2022 19:58:10 +0000 (15:58 -0400)
commitfe96e5636acf4243834bc1686f6ee8264b7a68dd
tree6ec2fc63f5e103ea6f0d93f6c1743c136ef0f7a4
parent747eea073252b5e30e0e38d04e3fdef7c86f16b5
drm/amdgpu: Use indirect buffer and save response status for TA load/invoke

The upcoming TA debugfs interface needs to use indirect buffer
when performing TA invoke and check psp response status for TA
load and invoke.

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