From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755892AbWKQUmy (ORCPT ); Fri, 17 Nov 2006 15:42:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755893AbWKQUmx (ORCPT ); Fri, 17 Nov 2006 15:42:53 -0500 Received: from ug-out-1314.google.com ([66.249.92.171]:34218 "EHLO ug-out-1314.google.com") by vger.kernel.org with ESMTP id S1755892AbWKQUmw (ORCPT ); Fri, 17 Nov 2006 15:42:52 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lkiDcHw2BvCAhbdFaObZXcCZzMy3bZcLOKCZwTHM7J7nMt8P8iF6svRc5ezAin9L5CDDe9O0syKSXVM7UdzGidhxpw632XekMvZqhsK3iqaeOgUuAAqBLrWyVDSJNdw+Ek/A4m836NtfuMkEvs/Qpb3rkZjQbEDUro6vOoNzRoI= Message-ID: Date: Fri, 17 Nov 2006 21:42:50 +0100 From: "Franck Bui-Huu" To: "James Simmons" Subject: Re: [Linux-fbdev-devel] fbmem: is bootup logo broken for monochrome LCD ? Cc: "Linux Fbdev development list" , "Linux Kernel Mailing List" , "Andrew Morton" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45535C08.5020607@innova-card.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On 11/17/06, James Simmons wrote: > > Are those actually numbers? If they are the problem isn't byte reversal > but bit shifting. > > 1010100 = 54 > 0101010 = 2A It's not byte reversal, but _bits_ of each bytes have been inversed (bit7->bit0, bit6->bit1, bit5->bit2, bit4->bit3, bit3->bit4, ...) after calling slow_imageblit(). Is it something expected ? > I really don't understand why fbmem.c has its own routines to handle the logo for the color > map. I can set creating a fbcmap and calling fb_set_cmap instead. Unfortunately I cannot help you on this point... > That will be a separte patch. > Thanks -- Franck