[PATCH 2/2] drm/amdgpu: Fix the the asic type of some new asics
Ma Jun
Jun.Ma2 at amd.com
Wed Nov 1 01:48:45 UTC 2023
Some special new asics use the same device id as Sienna_Cichlid.
So fix it.
Signed-off-by: Ma Jun <Jun.Ma2 at amd.com>
---
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..a62961649171 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 Navi21 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
More information about the amd-gfx
mailing list