summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2018-10-19 21:46:05 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-20 21:46:49 -0500
commit7d0906e83a2f5069189b0f088d8e5d29b77f179c (patch)
treeab8c25a0f40e9fd43f0eb4cf917f81aa444e3491 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
parentbc290fe552591e55b67794b7ed09c574b714b4ff (diff)
downloadtalos-op-linux-7d0906e83a2f5069189b0f088d8e5d29b77f179c.tar.gz
talos-op-linux-7d0906e83a2f5069189b0f088d8e5d29b77f179c.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
index cf49539b0b07..9cc741800682 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
@@ -154,8 +154,10 @@ struct psp_context
uint32_t sos_feature_version;
uint32_t sys_bin_size;
uint32_t sos_bin_size;
+ uint32_t toc_bin_size;
uint8_t *sys_start_addr;
uint8_t *sos_start_addr;
+ uint8_t *toc_start_addr
/* tmr buffer */
struct amdgpu_bo *tmr_bo;
OpenPOWER on IntegriCloud