|
@@ -500,6 +500,7 @@ static int cik_sdma_load_microcode(struct amdgpu_device *adev)
|
|
|
amdgpu_ucode_print_sdma_hdr(&hdr->header);
|
|
|
fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4;
|
|
|
adev->sdma[i].fw_version = le32_to_cpu(hdr->header.ucode_version);
|
|
|
+ adev->sdma[i].feature_version = le32_to_cpu(hdr->ucode_feature_version);
|
|
|
fw_data = (const __le32 *)
|
|
|
(adev->sdma[i].fw->data + le32_to_cpu(hdr->header.ucode_array_offset_bytes));
|
|
|
WREG32(mmSDMA0_UCODE_ADDR + sdma_offsets[i], 0);
|