diff options
author | Jammy Zhou <Jammy.Zhou@amd.com> | 2015-08-03 22:43:50 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-08-05 14:26:49 -0400 |
commit | 351643d7dd8a48b1053aac5fe3a1aebac614c301 (patch) | |
tree | 3bce186b1d8456a278ac03b07289bc796594bce8 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | 0fd64291031d3587753b8adc53123b277855c777 (diff) |
drm/amdgpu: add feature version for RLC and MEC v2
Expose feature version to user space for RLC/MEC/MEC2 ucode as well
v2: fix coding style
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.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 31b00f91cfcd..8db642b5abb2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1130,6 +1130,9 @@ struct amdgpu_gfx { | |||
1130 | uint32_t me_feature_version; | 1130 | uint32_t me_feature_version; |
1131 | uint32_t ce_feature_version; | 1131 | uint32_t ce_feature_version; |
1132 | uint32_t pfp_feature_version; | 1132 | uint32_t pfp_feature_version; |
1133 | uint32_t rlc_feature_version; | ||
1134 | uint32_t mec_feature_version; | ||
1135 | uint32_t mec2_feature_version; | ||
1133 | struct amdgpu_ring gfx_ring[AMDGPU_MAX_GFX_RINGS]; | 1136 | struct amdgpu_ring gfx_ring[AMDGPU_MAX_GFX_RINGS]; |
1134 | unsigned num_gfx_rings; | 1137 | unsigned num_gfx_rings; |
1135 | struct amdgpu_ring compute_ring[AMDGPU_MAX_COMPUTE_RINGS]; | 1138 | struct amdgpu_ring compute_ring[AMDGPU_MAX_COMPUTE_RINGS]; |