[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 10 Oct 2015 14:41:35 -0400
From: Ilia Mirkin <imirkin@...m.mit.edu>
To: Laurent Vivier <laurent@...ier.eu>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
Ben Skeggs <bskeggs@...hat.com>,
Dave Airlie <airlied@...hat.com>
Subject: Re: [PATCH] nouveau: fix OpenFirmware support
Hi Laurent,
On Sat, Oct 10, 2015 at 9:27 AM, Laurent Vivier <laurent@...ier.eu> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists