From: Luotao Fu <l.fu@pengutronix.de>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: Luotao Fu <l.fu@pengutronix.de>,
Andrew Morton <akpm@linux-foundation.org>,
Andres Salomon <dilinger@debian.org>,
Alessandro Rubini <rubini@unipv.it>,
Krzysztof Helt <krzysztof.h1@wp.pl>,
Kevin Wells <wellsk40@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] amba-clcd: add RGB444 support
Date: Mon, 15 Mar 2010 14:59:45 +0100 [thread overview]
Message-ID: <20100315135945.GA4584@pengutronix.de> (raw)
In-Reply-To: <20100315133810.GE700@n2100.arm.linux.org.uk>
[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]
Hi Russell,
On Mon, Mar 15, 2010 at 01:38:10PM +0000, Russell King - ARM Linux wrote:
> On Mon, Mar 15, 2010 at 02:30:09PM +0100, Luotao Fu wrote:
> > This one adds RGB444 (bpp=12) support to amba clcd drivers. Tested on a lpc3250
> > based platform.
>
> No - this is wrong. You have a 16bpp display. bpp is the number of bits
> in the framebuffer between two successive pixels. It is not the number of
> bits used for the pixel information.
>
> The only case where you have a 12bpp display is if you have two pixels
> packed into three bytes.
>
For 12bpp actually 16bits/pixel is used. I'm aware of that. That's the
reason why the fb.var.bits_per_pixel is set to 16 in clcdfb_decode if
it is originally set to 12 from the platform file to make usage of 16bpp
display. omapfb driver does quite the same.
On my framebuffer controller (here on a lpc3250) there is hardware RGB444
support. Switching to this mode will spare some pins. What I intend to
do with this patch is to make use of this feature. Similar RGB444
Support can be found in omapfb.
cheers
Luotao Fu
--
Pengutronix e.K. | Dipl.-Ing. Luotao Fu |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2010-03-15 14:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-15 13:30 Luotao Fu
2010-03-15 13:38 ` Russell King - ARM Linux
2010-03-15 13:59 ` Luotao Fu [this message]
2010-03-15 14:13 ` Russell King - ARM Linux
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100315135945.GA4584@pengutronix.de \
--to=l.fu@pengutronix.de \
--cc=akpm@linux-foundation.org \
--cc=dilinger@debian.org \
--cc=krzysztof.h1@wp.pl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=rubini@unipv.it \
--cc=wellsk40@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®