RFC: vesafb

Leigh Brown leigh at solinno.co.uk
Sat Jan 26 00:59:28 EST 2002

Hi Hollis,

> The attached patch allows vesafb to work on PPC. vesafb does
> surprisingly little with the BIOS (which I thought was the whole point
> of VESA). With some ifdef's I'm able to use it as sort of a VGA offb --
> the firmware initializes the card, and the driver just uses it and
> never mucks with it.
> This patch allows me to get an 800x600x8 console on the Thinkpad 850,
> and 640x480x8 on the Carolina machines. More interestingly it allows X
> to work on the Thinkpad, which currently doesn't work and has never
> worked in >16 colors. It should also work on the 7020 (Sven?), which
> uses the Weitek 9100 card and currently is driverless.
> This patch is only for PReP, which is probably the only place it's
> really useful (since CHRP and PMac have offb), but would be easy enough
> to add to.
> Comments?

Well, I thought I'd give it a go on my 7043-140.  I think that it
would help those people with the proprietary IBM graphics cards
(GXT550P, GXT800P that sort of thing, IIRC), as well as being at least
as good as the S3Triofb frame buffer driver (which can't switch video
modes any way).

Unsurprisingly it didn't work.  That is, unsurprisingly because nothing
ever goes to plan on these boxes :-)

It seems there is no residual data entry for the graphics card.  I
enabled the code to dump the residual data and it was conspicuous by
its absence.  In fact, everything else seemed to be there (6 PCI devices
and 17 ISA devices).

Any ideas?



** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

More information about the Linuxppc-dev mailing list