From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 6 Mar 2003 03:15:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 6 Mar 2003 03:15:40 -0500 Received: from smtp-out-3.wanadoo.fr ([193.252.19.233]:25283 "EHLO mel-rto3.wanadoo.fr") by vger.kernel.org with ESMTP id ; Thu, 6 Mar 2003 03:15:40 -0500 Date: Thu, 6 Mar 2003 09:25:21 +0100 To: Antonino Daplas Cc: Sven Luther , James Simmons , Petr Vandrovec , Linux Kernel Mailing List , Linux Fbdev development list Subject: Re: [Linux-fbdev-devel] Re: FBdev updates. Message-ID: <20030306082521.GA1851@iliana> References: <20030303203500.GA2916@vana.vc.cvut.cz> <20030306073508.GA1734@iliana> <1046937890.1208.29.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1046937890.1208.29.camel@localhost.localdomain> User-Agent: Mutt/1.5.3i From: Sven Luther Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 06, 2003 at 04:05:32PM +0800, Antonino Daplas wrote: > On Thu, 2003-03-06 at 15:35, Sven Luther wrote: > > > > > > > And one (or two...) generic questions: why is not pseudo_palette > > > > u32* pseudo_palette, or even directly u32 pseudo_palette[17] ? > > > > > > pseudo_palette was originally designed to be a pointer to some kind of > > > data for color register programming. For example many PPC graphics cards > > > have a color register region. Now you could have that point to > > > > Does this correspond to the LUT i have in my boards ? > > > > BTW, what is the point in having a pseudo_palette if you can store > > the colors in the onchip LUT table. > > > > The hardware clut typically stores each color channel separately. In > software terms, this is akin to struct fb_cmap. The pseudo_palette, on > the other hand, is a pixel LUT, the contents of which can be directly > written to the framebuffer without it ever knowing the format at all, ie > it does not matter if it's RGB or YUV. This makes the upper layer > independent of the low-lever driver (at least in terms of colorspace > formats). Ok, thanks, ... Friendly, Sven Luther