summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorHawking Zhang <Hawking.Zhang@amd.com>2018-11-09 18:09:36 +0800
committerAlex Deucher <alexander.deucher@amd.com>2019-06-20 21:46:50 -0500
commit5160709d4509c4bda50ab35060b954f135a89fb6 (patch)
tree5fea25fd38d3261bfe6a32682c5a2233de979f04 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parent1a5b4cca29ba7f256ebd683a2e636576d3b54e96 (diff)
drm/amdgpu/psp: switch to use sos_offset_bytes member as sys_bin_size
Navi10 will have toc built-in sos binary so that using header.ucode_size_bytes minus sos_size_bytes actually is not sys_bin_size. Using sos_offset_bytes works for both vega20 (psp_firmware_header_v1_0) and navi10 (psp_firmware_header_v1_1) Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions