aboutsummaryrefslogtreecommitdiffstats
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 14:43:54 -0400
commit5830bb986dcd6aea290ef54446e077c09cc8498e (patch)
treea3f889c202192b756c83552ef63d2dd9a4add570 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
parent34fd54bc0891b0d835de73978ba5277665814be3 (diff)
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,
385 case CHIP_POLARIS12: 385 case CHIP_POLARIS12:
386 strcpy(fw_name, "amdgpu/polaris12_smc.bin"); 386 strcpy(fw_name, "amdgpu/polaris12_smc.bin");
387 break; 387 break;
388 case CHIP_VEGAM:
389 strcpy(fw_name, "amdgpu/vegam_smc.bin");
390 break;
388 case CHIP_VEGA10: 391 case CHIP_VEGA10:
389 if ((adev->pdev->device == 0x687f) && 392 if ((adev->pdev->device == 0x687f) &&
390 ((adev->pdev->revision == 0xc0) || 393 ((adev->pdev->revision == 0xc0) ||