diff options
author | 2018-04-20 12:46:21 +0800 | |
---|---|---|
committer | 2018-05-17 10:13:10 -0500 | |
commit | a167ae2509132e97c94d66cf1ce15ba2fa620248 (patch) | |
tree | 3e673d28a83a0746755415e582b0a4f16eb68b92 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | drm/amdgpu: set asic family for vega20. (diff) | |
download | linux-a167ae2509132e97c94d66cf1ce15ba2fa620248.tar.gz linux-a167ae2509132e97c94d66cf1ce15ba2fa620248.tar.bz2 linux-a167ae2509132e97c94d66cf1ce15ba2fa620248.zip |
drm/amdgpu: Add smu firmware support for vega20
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Feifei Xu <Feifei.Xu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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 5b3d3bf5b599..e950730f1933 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c @@ -400,6 +400,9 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, case CHIP_VEGA12: strcpy(fw_name, "amdgpu/vega12_smc.bin"); break; + case CHIP_VEGA20: + strcpy(fw_name, "amdgpu/vega20_smc.bin"); + break; default: DRM_ERROR("SMC firmware not supported\n"); return -EINVAL; |