From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: 2.6 fbcon and 15/16 bpp Date: Wed, 24 Dec 2003 14:31:23 +1100 Sender: linux-fbdev-devel-admin@lists.sourceforge.net Message-ID: <1072236683.739.32.camel@gaston> References: <1070348676.4311.39.camel@gaston> <3FCC4018.4020503@undead.cc> <1070403757.4300.75.camel@gaston> <3FCD17D5.4040804@undead.cc> <1070410792.21174.83.camel@gaston> <3FE8CCE3.4010709@undead.cc> <1072230310.739.25.camel@gaston> <3FE90001.3080207@undead.cc> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.12] helo=sc8-sf-mx2.sourceforge.net) by sc8-sf-list1.sourceforge.net with esmtp (Exim 4.24) id 1AYzka-0000m0-Kr for linux-fbdev-devel@lists.sourceforge.net; Tue, 23 Dec 2003 19:31:56 -0800 Received: from pentafluge.infradead.org ([213.86.99.235]) by sc8-sf-mx2.sourceforge.net with esmtp (TLSv1:AES256-SHA:256) (Exim 4.24) id 1AYzkY-0004kG-GX for linux-fbdev-devel@lists.sourceforge.net; Tue, 23 Dec 2003 19:31:54 -0800 In-Reply-To: <3FE90001.3080207@undead.cc> Errors-To: linux-fbdev-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: John Zielinski Cc: Linux Frame Buffer Device Development On Wed, 2003-12-24 at 13:54, John Zielinski wrote: > Benjamin Herrenschmidt wrote: > > >Intersting. The pseudo palette thing might have to be u32 indeed, I have > >to double check. That sounds like a typical misdesign crap vs. endian > >assuming a given value can be accessed via any size is a little endian > >"feature" that doesn't work on BE. > > > > > > Except that this machine is LE. Perhaps the software blit routine is > writing the entire 32 bit value to the frambuffer? Possible. > >The HW palette stuff for 16 bits is fine afaik (well, i wrote it ;), and it > >works for XFree. What color problems do you have fixed when you comment > >it out ? > > > > > > With the commented code left in or just the OUTREG's commented: Well, the interesting thing is does X using "fbdev" has proper colors (or X using "ati" driver with UseFBDev option). If yes, then that code is right. It's the console/blit code that is wrong. Ben. ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click