From e532e2632056a9cd8c815b4733b5c8f6a2249f21 Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 9 Aug 2024 01:50:16 +0000 Subject: [PATCH] add Ryzen 9000 "Granite Ridge" id found in AMD Software: Adrenalin Edition 24.7.1 GC 10.3.6, DCN 3.1.5 same as Ryzen 7000 "Raphael" and Ryzen 7045 "Dragon Range" --- sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h | 8 +++++++- sys/dev/pci/pcidevs | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h b/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h index d965c2153bf..e6dffd08329 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h @@ -201,9 +201,15 @@ static const struct pci_matchid amdgpu_devices[] = { {0x1002, 0x1435 }, /* Custom GPU 0932 */ {0x1002, 0x163f }, /* Custom GPU 0405 */ - /* GC 10.3.6, DCN 3.1.5, APU, Ryzen 7000 "Raphael" */ + /* + * GC 10.3.6, DCN 3.1.5, APU, Ryzen 7000 "Raphael" + * GC 10.3.6, DCN 3.1.5, APU, Ryzen 7045 "Dragon Range" + */ {0x1002, 0x164e }, /* Radeon 610M */ + /* GC 10.3.6, DCN 3.1.5, APU, Ryzen 9000 "Granite Ridge" */ + {0x1002, 0x13c0 }, /* Radeon Graphics */ + /* GC 10.3.7, DCN 3.1.6, APU, Ryzen 7020 "Mendocino" */ {0x1002, 0x1506 }, /* Radeon 610M */ diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs index 347d991b1d7..789cedbcbab 100644 --- a/sys/dev/pci/pcidevs +++ b/sys/dev/pci/pcidevs @@ -1,4 +1,4 @@ -$OpenBSD: pcidevs,v 1.2081 2024/08/07 06:48:55 jsg Exp $ +$OpenBSD: pcidevs,v 1.2082 2024/08/09 01:50:16 jsg Exp $ /* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */ /* @@ -1333,6 +1333,7 @@ product ATI KAVERI_19 0x1318 Kaveri Radeon R5 product ATI KAVERI_20 0x131b Kaveri Radeon R4 product ATI KAVERI_21 0x131c Kaveri Radeon R7 product ATI KAVERI_22 0x131d Kaveri Radeon R6 +product ATI GRANITE_RIDGE 0x13c0 Granite Ridge product ATI CYAN_SKILLFISH_1 0x13fe Cyan Skillfish product ATI VANGOGH_0932 0x1435 Van Gogh product ATI CYAN_SKILLFISH_2 0x143f Cyan Skillfish -- 2.20.1