|
@@ -501,6 +501,8 @@ static int cik_sdma_load_microcode(struct amdgpu_device *adev)
|
|
|
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);
|
|
|
+ if (adev->sdma[i].feature_version >= 20)
|
|
|
+ adev->sdma[i].burst_nop = true;
|
|
|
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);
|