OSDN Git Service

drm/amdgpu: add structure to support build-in toc to psp sos
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 19 Oct 2018 13:46:05 +0000 (21:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:46:49 +0000 (21:46 -0500)
commit7d0906e83a2f5069189b0f088d8e5d29b77f179c
treeab8c25a0f40e9fd43f0eb4cf917f81aa444e3491
parentbc290fe552591e55b67794b7ed09c574b714b4ff
drm/amdgpu: add structure to support build-in toc to psp sos

Table Of Content (TOC) is used by RLC to auto load gc firmwares.
PSP need to parse the toc to calculate the tmr size needed and
load gc firmwares to tmr for RLC to auto load them finally

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h