summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-08-04 10:50:47 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-08-05 14:26:50 -0400
commitcfa2104fbcb87ab0abbdaba608087df1e24fe195 (patch)
tree27fd56e55ff791058d7fdb829de69dd8adac388b /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
parent351643d7dd8a48b1053aac5fe3a1aebac614c301 (diff)
downloadblackbird-obmc-linux-cfa2104fbcb87ab0abbdaba608087df1e24fe195.tar.gz
blackbird-obmc-linux-cfa2104fbcb87ab0abbdaba608087df1e24fe195.zip
drm/amdgpu: add feature version for SDMA ucode
Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
index 79eba82defed..3bfe67de8349 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
@@ -337,7 +337,7 @@ static int amdgpu_info_ioctl(struct drm_device *dev, void *data, struct drm_file
if (info->query_fw.index >= 2)
return -EINVAL;
fw_info.ver = adev->sdma[info->query_fw.index].fw_version;
- fw_info.feature = 0;
+ fw_info.feature = adev->sdma[info->query_fw.index].feature_version;
break;
default:
return -EINVAL;
OpenPOWER on IntegriCloud