[PATCH v2 2/2] drm/amdgpu: Fix the the asic type of some new asics

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

 



Some new asics use the same device id as Sienna_Cichlid.
So fix it.

Signed-off-by: Ma Jun <Jun.Ma2@xxxxxxx>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
index 756cf49557a2..93c8c8b763ed 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
@@ -2073,6 +2073,17 @@ static const struct amdgpu_asic_type_quirk asic_type_quirks[] = {
 	{0x67FF, 0xE7, CHIP_POLARIS10},
 	{0x67FF, 0xF3, CHIP_POLARIS10},
 	{0x67FF, 0xF7, CHIP_POLARIS10},
+	/* differentiate between Sienna_Cichlid and new asics with the same DID */
+	{0x73BF, 0x18, CHIP_IP_DISCOVERY},
+	{0x73BF, 0x19, CHIP_IP_DISCOVERY},
+	{0x73BF, 0xD2, CHIP_IP_DISCOVERY},
+	{0x73BF, 0xD4, CHIP_IP_DISCOVERY},
+	{0x73BF, 0xD5, CHIP_IP_DISCOVERY},
+	{0x73BF, 0xD6, CHIP_IP_DISCOVERY},
+	{0x73BF, 0xD8, CHIP_IP_DISCOVERY},
+	{0x73BF, 0xD9, CHIP_IP_DISCOVERY},
+	{0x73BF, 0xDA, CHIP_IP_DISCOVERY},
+	{0x73BF, 0xDB, CHIP_IP_DISCOVERY},
 };
 
 static struct drm_driver amdgpu_kms_driver;
-- 
2.34.1




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

  Powered by Linux