diff options
author | Monk Liu <Monk.Liu@amd.com> | 2016-09-26 04:35:03 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-10-25 14:38:23 -0400 |
commit | bed5712e1a52bb5d177722bc0d76c2a3a71b8338 (patch) | |
tree | e564309bb473d20aa27fdfa53c22bf5d27bcebda /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | ac00bbf32b02b74cf9ff1b9e861de9befaf00be5 (diff) |
drm/amdgpu:add MEC_STORAGE ucode id for sriov
for sriov, SMC need MEC_STORAGE reserved in fw bo.
Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Signed-off-by: Frank Min <frank.min@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index 1950c25557de..e6b1bf3dc292 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |||
@@ -696,6 +696,9 @@ static uint32_t fw_type_convert(struct cgs_device *cgs_device, uint32_t fw_type) | |||
696 | case CGS_UCODE_ID_RLC_G: | 696 | case CGS_UCODE_ID_RLC_G: |
697 | result = AMDGPU_UCODE_ID_RLC_G; | 697 | result = AMDGPU_UCODE_ID_RLC_G; |
698 | break; | 698 | break; |
699 | case CGS_UCODE_ID_STORAGE: | ||
700 | result = AMDGPU_UCODE_ID_STORAGE; | ||
701 | break; | ||
699 | default: | 702 | default: |
700 | DRM_ERROR("Firmware type not supported\n"); | 703 | DRM_ERROR("Firmware type not supported\n"); |
701 | } | 704 | } |