On Wed, 2005-02-02 at 10:05 +0100, Ulrich Eckhardt wrote:
> I have a system that has a 4bpp monochrome display and the driver doesn't
> work. After initializing, it turns on the display[1] but I fail to get any
> content onto it. I extended the array with the display characteristics
> according to an existing driver, but to no avail.
>
> I'm pretty lost there, since I have zero prior experience with framebuffers
> or
> video drivers, so I'd appreciate any hint that might get me towards debugging
> this.
Hi,
you actually have to do the following modification modifications.
First you have to modify the function au1100fb_setcolreg, add the switch
case for 4bpp. Look in the Alchemy manual for the format of the palette
in the 4 bpp case. Then look for my comment "TODO: 8bbp", put a switch
and for pseudocolor like visual ... I think this is not even necessary.
More important is that you change the monitor type. If you want I can
send you privately a patch this weekend, but I just cannot assure it
works, you have to test it and eventually contribute.
--
Christian <c.pellegrin@exadron.com>
signature.asc
Description: This is a digitally signed message part
|