diff options
author | 2017-06-23 15:08:15 +0800 | |
---|---|---|
committer | 2017-07-14 11:06:07 -0400 | |
commit | 747f6c921d0a4ec0cba76d8ef57729a959e0fd30 (patch) | |
tree | e537b964260289efc960c3fde421747ba339ffa5 /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | drm/amdgpu: drop SMU_DRIVER_IF_VERSION check for some vega10 variants (diff) | |
download | linux-747f6c921d0a4ec0cba76d8ef57729a959e0fd30.tar.gz linux-747f6c921d0a4ec0cba76d8ef57729a959e0fd30.tar.bz2 linux-747f6c921d0a4ec0cba76d8ef57729a959e0fd30.zip |
drm/amdgpu: add ACG SMU firmware for other vega10 variants
Signed-off-by: Evan Quan <evan.quan@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 | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index c0a806280257..e525de2ecb2d 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c @@ -719,7 +719,13 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, strcpy(fw_name, "amdgpu/polaris12_smc.bin"); break; case CHIP_VEGA10: - strcpy(fw_name, "amdgpu/vega10_smc.bin"); + if ((adev->pdev->device == 0x687f) && + ((adev->pdev->revision == 0xc0) || + (adev->pdev->revision == 0xc1) || + (adev->pdev->revision == 0xc3))) + strcpy(fw_name, "amdgpu/vega10_acg_smc.bin"); + else + strcpy(fw_name, "amdgpu/vega10_smc.bin"); break; default: DRM_ERROR("SMC firmware not supported\n"); |