summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
diff options
context:
space:
mode:
authorLeo Liu <leo.liu@amd.com>2017-11-09 13:24:47 -0500
committerAlex Deucher <alexander.deucher@amd.com>2018-05-15 13:43:54 -0500
commit5830bb986dcd6aea290ef54446e077c09cc8498e (patch)
treea3f889c202192b756c83552ef63d2dd9a4add570 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
parent34fd54bc0891b0d835de73978ba5277665814be3 (diff)
downloadlinux-5830bb986dcd6aea290ef54446e077c09cc8498e.tar.gz
linux-5830bb986dcd6aea290ef54446e077c09cc8498e.tar.bz2
linux-5830bb986dcd6aea290ef54446e077c09cc8498e.zip
drm/amdgpu: add VEGAM SMU firmware support
Signed-off-by: Leo Liu <leo.liu@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.c3
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 a8a942c60ea2..5b3d3bf5b599 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
@@ -385,6 +385,9 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device,
case CHIP_POLARIS12:
strcpy(fw_name, "amdgpu/polaris12_smc.bin");
break;
+ case CHIP_VEGAM:
+ strcpy(fw_name, "amdgpu/vegam_smc.bin");
+ break;
case CHIP_VEGA10:
if ((adev->pdev->device == 0x687f) &&
((adev->pdev->revision == 0xc0) ||