drm/amdgpu: update SMC firmware image for polaris10 variants
authorJunwei Zhang <Jerry.Zhang@amd.com>
Fri, 7 Dec 2018 07:15:03 +0000 (15:15 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Dec 2018 20:28:04 +0000 (15:28 -0500)
Some new variants require different firmwares.

Signed-off-by: Junwei Zhang <Jerry.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c

index ceadeeadfa56aa618cb26f3cfdcdd13df863baff..387f1cf1dc207b0adac288cbf3fa413cc219d7f1 100644 (file)
@@ -381,7 +381,8 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device,
                                              (adev->pdev->revision == 0xe7) ||
                                              (adev->pdev->revision == 0xef))) ||
                                            ((adev->pdev->device == 0x6fdf) &&
-                                            (adev->pdev->revision == 0xef))) {
+                                            ((adev->pdev->revision == 0xef) ||
+                                             (adev->pdev->revision == 0xff)))) {
                                                info->is_kicker = true;
                                                strcpy(fw_name, "amdgpu/polaris10_k_smc.bin");
                                        } else if ((adev->pdev->device == 0x67df) &&