diff options
| author | Jammy Zhou <[email protected]> | 2015-08-04 10:50:47 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-08-05 14:26:50 -0400 |
| commit | cfa2104fbcb87ab0abbdaba608087df1e24fe195 (patch) | |
| tree | 27fd56e55ff791058d7fdb829de69dd8adac388b /drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | |
| parent | 351643d7dd8a48b1053aac5fe3a1aebac614c301 (diff) | |
drm/amdgpu: add feature version for SDMA ucode
Signed-off-by: Jammy Zhou <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c index d7895885fe0c..01bd5c903f9b 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c @@ -542,6 +542,7 @@ static int sdma_v2_4_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 + |