drm/amdgpu: Create common PSP TA load function
authorCandice Li <candice.li@amd.com>
Sat, 4 Sep 2021 08:45:03 +0000 (16:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Sep 2021 17:30:49 +0000 (13:30 -0400)
commitac1509d19e2e44d1ea13753cfc265c4693f12ef5
tree5dcacd71ed728316de49ba661eb90a43c7edeced
parent68e7d0baa1f2bd6eab56d3f701c3779b261f57d8
drm/amdgpu: Create common PSP TA load function

Creat common PSP TA load function and update PSP ta_mem_context
with size information.

Signed-off-by: Candice Li <candice.li@amd.com>
Reviewed-by: John Clements <john.clements@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