Re: [PATCH] nouveau: fix OpenFirmware support
From: Ilia Mirkin
Date: Sat Oct 10 2015 - 14:42:11 EST
Hi Laurent,
On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier <laurent@xxxxxxxxx> wrote:
> On PowerMac G5 (and I think on all OpenFirmware platforms), nvbios_pcirTp()
> returns NULL. But in fact the OpenFirmware has given us the size
> we can store in image->size.
>
> This size is stored in bios->size by of_init() as there is no way
> to retrieve it otherwise. And as we know the size, copy all data
> to bios->data.
>
> Tested on PowerMac G5 with 64bit kernel and a NV43 card (GeForce 6600 LE).
Can you give this patch a shot instead?
http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=794a63cc75eada9ad6b2a0275c1c8c4d3522864f
This resolved my issues on a PPC G5 + NV34. I think mine ran into a
few additional problems that you didn't see -- no PCIR header and
invalid checksum.
-ilia
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/