aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorJohn Clements <john.clements@amd.com>2020-11-03 16:19:44 +0800
committerAlex Deucher <alexander.deucher@amd.com>2020-11-03 21:06:04 -0500
commit26f4fd6d87cbf72376ee4f6a9dca1c95a3143563 (patch)
tree65413b735f72e152549ad51669492da2feac5e29 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parentamdkfd: Check kvmalloc return before memcpy (diff)
downloadlinux-dev-26f4fd6d87cbf72376ee4f6a9dca1c95a3143563.tar.xz
linux-dev-26f4fd6d87cbf72376ee4f6a9dca1c95a3143563.zip
drm/amdgpu: resolved ASD loading issue on sienna
updated fw header v2 parser to set asd fw memory Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: John Clements <john.clements@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 5.9.x
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
index 96a9699f87ba..a6dbe4b83533 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
@@ -2524,6 +2524,7 @@ int parse_ta_bin_descriptor(struct psp_context *psp,
psp->asd_feature_version = le32_to_cpu(desc->fw_version);
psp->asd_ucode_size = le32_to_cpu(desc->size_bytes);
psp->asd_start_addr = ucode_start_addr;
+ psp->asd_fw = psp->ta_fw;
break;
case TA_FW_TYPE_PSP_XGMI:
psp->ta_xgmi_ucode_version = le32_to_cpu(desc->fw_version);