Re: [PATCH] nvidiafb: PPC & mode setting fixes (#2)

From: Antonino A. Daplas
Date: Sun Oct 02 2005 - 02:09:03 EST


Benjamin Herrenschmidt wrote:
> (This version removes a useless bit that slipped in the previous one)
>
> This patch fixes a couple of things in nvidiafb:
>
> - The code for retreiving the mode from Open Firmware was broken. It
> would crash at boot and was copied from the old rivafb code that didn't
> work very well (I'll update rivafb too one of these days).

What do you think of making EDID retrieval from the OF generic? Or is
it too much hassle?

>
> - The mode setting code produced weird results on the 5200 card in the
> iMac G5 here. X "nv" code works fine though. After comparing them, I
> found out that we aren't really manipulating some VGA bits the same way
> and X code seemed better, so I slightly changed the mode setting to do
> the same and that fixed the problem. (The display was strangely shifted
> with garbage in the margin but not on all lines, and not in bpp 32)
>
> Signed-off-by: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>

Thanks for the fix :-)

Acked-by: Antonino Daplas <adaplas@xxxxxxx>
-
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/