From: jsg Date: Thu, 23 Nov 2023 05:08:56 +0000 (+0000) Subject: add another Van Gogh device id X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=72cde2b798d69f0baf92b6334b9dba21de5d4955;p=openbsd add another Van Gogh device id 1435 rev ae is "Custom GPU 0932" found in Windows driver for Steam Deck OLED APU --- diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h b/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h index 6ee14c0ac11..bd0b1696c69 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h @@ -142,7 +142,8 @@ static const struct pci_matchid amdgpu_devices[] = { {0x1002, 0x73BF }, /* Van Gogh */ - {0x1002, 0x163F }, + {0x1002, 0x1435 }, /* Custom GPU 0932 */ + {0x1002, 0x163F }, /* Custom GPU 0405 */ /* Yellow Carp */ {0x1002, 0x164D }, diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c index 57144ac7b6b..7776d9a3548 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c @@ -1963,6 +1963,7 @@ static const struct pci_device_id pciidlist[] = { {0x1002, 0x73BF, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_SIENNA_CICHLID}, /* Van Gogh */ + {0x1002, 0x1435, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VANGOGH|AMD_IS_APU}, {0x1002, 0x163F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_VANGOGH|AMD_IS_APU}, /* Yellow Carp */ diff --git a/sys/dev/pci/pcidevs b/sys/dev/pci/pcidevs index 19d281992e7..21e96f79b08 100644 --- a/sys/dev/pci/pcidevs +++ b/sys/dev/pci/pcidevs @@ -1,4 +1,4 @@ -$OpenBSD: pcidevs,v 1.2053 2023/11/14 02:25:48 jsg Exp $ +$OpenBSD: pcidevs,v 1.2054 2023/11/23 05:08:56 jsg Exp $ /* $NetBSD: pcidevs,v 1.30 1997/06/24 06:20:24 thorpej Exp $ */ /* @@ -1277,6 +1277,7 @@ 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 CYAN_SKILLFISH_1 0x13fe Cyan Skillfish +product ATI VANGOGH_0932 0x1435 Van Gogh product ATI CYAN_SKILLFISH_2 0x143f Cyan Skillfish product ATI PPB_1 0x1478 PCIE product ATI PPB_2 0x1479 PCIE @@ -1290,7 +1291,7 @@ product ATI BARCELO 0x15e7 Barcelo product ATI RENOIR 0x1636 Renoir product ATI RENOIR_HDA 0x1637 Renoir HD Audio product ATI CEZANNE 0x1638 Cezanne -product ATI VANGOGH 0x163f Van Gogh +product ATI VANGOGH_0405 0x163f Van Gogh product ATI VANGOGH_HDA 0x1640 Van Gogh HD Audio product ATI LUCIENNE 0x164c Lucienne product ATI YELLOW_CARP_1 0x164d Rembrandt