drm/amdgpu: add VEGAM SMU firmware support
authorLeo Liu <leo.liu@amd.com>
Thu, 9 Nov 2017 18:24:47 +0000 (13:24 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:54 +0000 (13:43 -0500)
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
drivers/gpu/drm/amd/powerplay/smumgr/smumgr.c

index a8a942c60ea24444c81d7d239c6c4f39dd25a25a..5b3d3bf5b599141d3d58e09e41c187ca0bd9b5bd 100644 (file)
@@ -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) ||
index c28b60aae5f820452de387d42e9224e1a2b7e2cd..ee236dfbf1d638f42fdf39295cb6e2b959299692 100644 (file)
@@ -41,6 +41,7 @@ MODULE_FIRMWARE("amdgpu/polaris11_smc.bin");
 MODULE_FIRMWARE("amdgpu/polaris11_smc_sk.bin");
 MODULE_FIRMWARE("amdgpu/polaris11_k_smc.bin");
 MODULE_FIRMWARE("amdgpu/polaris12_smc.bin");
+MODULE_FIRMWARE("amdgpu/vegam_smc.bin");
 MODULE_FIRMWARE("amdgpu/vega10_smc.bin");
 MODULE_FIRMWARE("amdgpu/vega10_acg_smc.bin");
 MODULE_FIRMWARE("amdgpu/vega12_smc.bin");