On Sun, Aug 09, 2020 at 10:01:43AM -0600, Andy Bradford wrote: > Thus said Jonathan Gray on Sun, 09 Aug 2020 12:39:36 +1000: > > > When this came up previously running i386 resulted in being able to > > read the atombios. Can you confirm that is the case here? > > Yes, this is the case. I installed OpenBSD 6.7 i386 to the same hardware > and there is no error in dmesg and X starts up without requiring > machdep.allowaperture to be set. > > > The drm code in -current/snapshots has been replaced by a new port of > > the linux 5.7 code so behaviour there may change. > > I tried the amd64 current/snapshot from August 8 and it has the same > problem. > > I guess for now I can reinstall with i386 unless there is something else > that I should try for debugging. I can provide whatever is needed. > > Thanks, > > Andy
I can't spot a likely cause for this. For now we could just skip reading a disabled bios on RV610. Both of the reports on this were for Dell machines with RV610. Sebastien with OptiPlex 755 RV610 0x1002:0x94C3 0x1028:0x0402 0x00 and your DXP051 RV610 0x1002:0x94C1 0x1028:0x0D02 0x00 Index: src/sys/dev/pci/drm/radeon/radeon_bios.c =================================================================== RCS file: /cvs/src/sys/dev/pci/drm/radeon/radeon_bios.c,v retrieving revision 1.17 diff -u -p -r1.17 radeon_bios.c --- src/sys/dev/pci/drm/radeon/radeon_bios.c 8 Jun 2020 04:48:15 -0000 1.17 +++ src/sys/dev/pci/drm/radeon/radeon_bios.c 10 Aug 2020 13:41:43 -0000 @@ -524,6 +524,9 @@ static bool r600_read_disabled_bios(stru uint32_t lower_gpio_enable; bool r; + if (rdev->family == CHIP_RV610) + return false; + viph_control = RREG32(RADEON_VIPH_CONTROL); bus_cntl = RREG32(R600_BUS_CNTL); d1vga_control = RREG32(AVIVO_D1VGA_CONTROL);