On Sat, Sep 28, 2019 at 02:04:11AM -0700, Chris Bennett wrote:
> To: bugs@openbsd.org
> Subject: amdgpu crashes system at boot
> From: root
> Cc: root
> Reply-To: root
> 
> >Synopsis:    Diasbling amdgpu in UKC solves boot crash
> >Category:    Firmware incompatibilty
> >Environment:
>       System      : OpenBSD 6.6
>       Details     : OpenBSD 6.6-beta (GENERIC.MP) #328: Thu Sep 26 21:37:06 
> MDT 2019
>                        
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
>       Architecture: OpenBSD.amd64
>       Machine     : amd64
> >Description:
> amdgpu fails. During the boot process, amdgpu is seen then the screen blanks.
> Hard power off is needed.
> >How-To-Repeat:
> Boot using new amdgpu firmware.
> >Fix:
> boot -c
> disable amdgpu
> quit

There have been a few reports of problems with carrizo.  Debugging this
would ideally involve a carrizo apu with serial.  Here is a diff to
disable it until then.

Index: amdgpu_devlist.h
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/amd/amdgpu/amdgpu_devlist.h,v
retrieving revision 1.1
diff -u -p -r1.1 amdgpu_devlist.h
--- amdgpu_devlist.h    21 Aug 2019 02:18:33 -0000      1.1
+++ amdgpu_devlist.h    28 Sep 2019 09:39:53 -0000
@@ -18,6 +18,7 @@ static const struct pci_matchid amdgpu_d
        /* fiji */
        {0x1002, 0x7300 },
        {0x1002, 0x730F },
+#ifdef notyet
        /* carrizo */
        {0x1002, 0x9870 },
        {0x1002, 0x9874 },
@@ -26,6 +27,7 @@ static const struct pci_matchid amdgpu_d
        {0x1002, 0x9877 },
        /* stoney */
        {0x1002, 0x98E4 },
+#endif
        /* Polaris11 */
        {0x1002, 0x67E0 },
        {0x1002, 0x67E3 },
Index: amdgpu_drv.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c,v
retrieving revision 1.3
diff -u -p -r1.3 amdgpu_drv.c
--- amdgpu_drv.c        4 Jul 2019 03:41:35 -0000       1.3
+++ amdgpu_drv.c        28 Sep 2019 09:40:45 -0000
@@ -709,6 +709,7 @@ const struct drm_pcidev amdgpu_pciidlist
        /* fiji */
        {0x1002, 0x7300, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_FIJI},
        {0x1002, 0x730F, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_FIJI},
+#ifdef notyet
        /* carrizo */
        {0x1002, 0x9870, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CARRIZO|AMD_IS_APU},
        {0x1002, 0x9874, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CARRIZO|AMD_IS_APU},
@@ -717,6 +718,7 @@ const struct drm_pcidev amdgpu_pciidlist
        {0x1002, 0x9877, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_CARRIZO|AMD_IS_APU},
        /* stoney */
        {0x1002, 0x98E4, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_STONEY|AMD_IS_APU},
+#endif
        /* Polaris11 */
        {0x1002, 0x67E0, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},
        {0x1002, 0x67E3, PCI_ANY_ID, PCI_ANY_ID, 0, 0, CHIP_POLARIS11},

Reply via email to