Some new variants require different firmwares.

Signed-off-by: Junwei Zhang <jerry.zh...@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c 
b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
index 1ad7e6b8ed1d..0edb8622f666 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
@@ -244,7 +244,10 @@ static int gmc_v8_0_init_microcode(struct amdgpu_device 
*adev)
        case CHIP_POLARIS10:
                if ((adev->pdev->device == 0x67df) &&
                    ((adev->pdev->revision == 0xe1) ||
-                    (adev->pdev->revision == 0xf7)))
+                    (adev->pdev->revision == 0xf7)) ||
+                   ((adev->pdev->device == 0x6fdf) &&
+                    ((adev->pdev->revision == 0xef) ||
+                     (adev->pdev->revision == 0xff))))
                        chip_name = "polaris10_k";
                else
                        chip_name = "polaris10";
-- 
2.17.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to