Andy Bradford writes:
> After Jonathan suggested adding some printf debug statements, I
> continued to do so and was able to see that the rdev->bios variable that
> is being inspected at lines 834--840 in radeon_bios.c has neither ATOM
> nor MOTA in the string at that address for amd64, but has ATOM for i386:
>
> tmp = rdev->bios_header_start + 4;
> if (!memcmp(rdev->bios + tmp, "ATOM", 4) ||
> !memcmp(rdev->bios + tmp, "MOTA", 4)) {
> rdev->is_atom_bios = true;
> } else {
> rdev->is_atom_bios = false;
> }
>
> I suppose additional debug might involve writing the entire contents of
> rdev->bios to a file and then hexdump it?
The issue was also reported here, with no follups but more debug info:
https://marc.info/?l=openbsd-bugs&m=153398230416756&w=2
Allan