diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/si_smc.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/si_smc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/si_smc.c b/drivers/gpu/drm/amd/amdgpu/si_smc.c index 214f37c3b688..c1c259464ae7 100644 --- a/drivers/gpu/drm/amd/amdgpu/si_smc.c +++ b/drivers/gpu/drm/amd/amdgpu/si_smc.c | |||
@@ -224,6 +224,7 @@ int si_load_smc_ucode(struct amdgpu_device *adev, u32 limit) | |||
224 | 224 | ||
225 | amdgpu_ucode_print_smc_hdr(&hdr->header); | 225 | amdgpu_ucode_print_smc_hdr(&hdr->header); |
226 | 226 | ||
227 | adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); | ||
227 | ucode_start_address = le32_to_cpu(hdr->ucode_start_addr); | 228 | ucode_start_address = le32_to_cpu(hdr->ucode_start_addr); |
228 | ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); | 229 | ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); |
229 | src = (const u8 *) | 230 | src = (const u8 *) |