linux-mips
[Top] [All Lists]

Re: [PATCH] au1100fb.c ported from 2.4 to 2.6

To: Ulrich Eckhardt <eckhardt@satorlaser.com>
Subject: Re: [PATCH] au1100fb.c ported from 2.4 to 2.6
From: Christian <c.pellegrin@exadron.com>
Date: Fri, 04 Feb 2005 10:56:43 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <200502021005.18589.eckhardt@satorlaser.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1105523407.5654.18.camel@absolute.ascensit.com> <200502021005.18589.eckhardt@satorlaser.com>
Sender: linux-mips-bounce@linux-mips.org
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>

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>