From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Antonino A. Daplas" Subject: Re: [PATCH] pxafb: Add support for other palette formats Date: Thu, 12 Jul 2007 15:56:19 +0800 Message-ID: <1184226980.4504.14.camel@daplas> References: <200707031607.08511.hjk@linutronix.de> <468A6159.6000808@grupopie.com> <200707031703.53102.hjk@linutronix.de> <18058.28725.106989.860166@ipc1.karo> Reply-To: linux-fbdev-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.91] helo=mail.sourceforge.net) by sc8-sf-list1-new.sourceforge.net with esmtp (Exim 4.43) id 1I8tXK-0005FQ-9b for linux-fbdev-devel@lists.sourceforge.net; Thu, 12 Jul 2007 00:56:36 -0700 Received: from nz-out-0506.google.com ([64.233.162.230]) by mail.sourceforge.net with esmtp (Exim 4.44) id 1I8tXJ-0004pp-LX for linux-fbdev-devel@lists.sourceforge.net; Thu, 12 Jul 2007 00:56:30 -0700 Received: by nz-out-0506.google.com with SMTP id f1so138526nzc for ; Thu, 12 Jul 2007 00:56:29 -0700 (PDT) In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-fbdev-devel-bounces@lists.sourceforge.net Errors-To: linux-fbdev-devel-bounces@lists.sourceforge.net To: linux-fbdev-devel@lists.sourceforge.net Cc: "Geert.Uytterhoeven" , Thomas Gleixner , Paulo Marques , linux-arm-kernel@lists.arm.linux.org.uk On Tue, 2007-07-03 at 17:58 +0200, Geert Uytterhoeven wrote: > On Tue, 3 Jul 2007, Lothar Wassmann wrote: > > > Can userspace applications work with such a weired format? > > > If yes, I'm looking forward to your patch. > > > > > At least framebuffer consoles don't work with that. So you should > > add a configuration option that allows enabling the strange PXA pixel > > formats only when CONFIG_FRAMEBUFFER_CONSOLE is not set. > > Of course framebuffer consoles handle that! > > Just make sure to implement proper fb_ops.fb_{fillrect,copyarea,imageblit}(). As long as it is in packed-pixel format, the generic drawing libraries should be able to handle that. Make sure that info->pseudo_palette[] is correctly filled. Tony ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/