From b909cdd89ea167871c475e24e3aa6e50e3a22523 Mon Sep 17 00:00:00 2001 From: jsg Date: Mon, 6 Jun 2022 03:58:19 +0000 Subject: [PATCH] drm/amdgpu: add beige goby PCI ID From Alex Deucher 62e9bd20035b53ff6c679499c08546d96c6c60a7 in mainline linux --- sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h | 1 + sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c | 1 + sys/dev/pci/pcidevs | 5 +++-- 3 files changed, 5 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 4512c2b44a2..a755e0f6578 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h @@ -181,5 +181,6 @@ static const struct pci_matchid amdgpu_devices[] = { {0x1002, 0x7421 }, {0x1002, 0x7422 }, {0x1002, 0x7423 }, + {0x1002, 0x7424 }, {0x1002, 0x743F }, }; diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c index 03a116fd55a..3dff78d981d 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c @@ -1949,6 +1949,7 @@ const struct pci_device_id amdgpu_pciidlist[] = { {0x1002, 0x7421, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_BEIGE_GOBY}, {0x1002, 0x7422, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_BEIGE_GOBY}, {0x1002, 0x7423, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_BEIGE_GOBY}, + {0x1002, 0x7424, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_BEIGE_GOBY}, {0x1002, 0x743F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_BEIGE_GOBY}, {0, 0, 0} diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs index ec52c292e24..1b4256dff23 100644 --- a/sys/dev/pci/pcidevs +++ b/sys/dev/pci/pcidevs @@ -1,4 +1,4 @@ -$OpenBSD: pcidevs,v 1.1995 2022/05/26 01:47:02 jsg Exp $ +$OpenBSD: pcidevs,v 1.1996 2022/06/06 03:58:19 jsg Exp $ /* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */ /* @@ -2021,7 +2021,8 @@ product ATI BEIGE_GOBY_1 0x7420 Navi 24 product ATI BEIGE_GOBY_2 0x7421 Navi 24 product ATI BEIGE_GOBY_3 0x7422 Navi 24 product ATI BEIGE_GOBY_4 0x7423 Navi 24 -product ATI BEIGE_GOBY_5 0x743f Navi 24 +product ATI BEIGE_GOBY_5 0x7424 Navi 24 +product ATI BEIGE_GOBY_6 0x743f Navi 24 product ATI RADEON_9000IGP 0x7834 Radeon 9000/9100 IGP product ATI RADEON_RS350IGP 0x7835 Radeon RS350IGP product ATI RS690_HB 0x7910 RS690 Host -- 2.20.1