[PATCH 2/2] drm/amdgpu: update MC firmware image for polaris10 variants

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some new variants require different firmwares.

Signed-off-by: Junwei Zhang <Jerry.Zhang@xxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux