Re: 2.2.X patches for fbcon

From: Benjamin Herrenschmidt (bh40@calva.net)
Date: Mon Dec 11 2000 - 18:12:42 EST


>--- atyfb.c Mon Dec 11 14:28:19 2000
>+++ atyfb.c.orig Wed Oct 4 22:22:28 2000
>@@ -2796,7 +2796,7 @@
> * works on iMacs as well as the G3 powerbooks. - paulus
> */
> if (default_vmode == VMODE_CHOOSE) {
>- if ((Gx == LG_CHIP_ID)||(Gx == LI_CHIP_ID)||(Gx == LP_CHIP_ID))
>+ if (Gx == LG_CHIP_ID)
> /* G3 PowerBook with 1024x768 LCD */
> default_vmode = VMODE_1024_768_60;

That one is wrong. The machine type must be probed differently. Also, some
wallstreet's have a different screen (passive matrix) which is 800x600. I'm
trying to find a way to probe for it and will come up with a patch for this
In the meantime, passing the vmode is the correct solution.

Ben.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:22 EST