From: Paulo Marques <pmarques@grupopie.com>
To: "Hans-Jürgen Koch" <hjk@linutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>,
linux-fbdev-devel@lists.sourceforge.net,
linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: [PATCH] pxafb: Add support for other palette formats
Date: Tue, 03 Jul 2007 19:18:40 +0100 [thread overview]
Message-ID: <468A9300.7060608@grupopie.com> (raw)
In-Reply-To: <200707031944.21467.hjk@linutronix.de>
Hans-Jürgen Koch wrote:
> Am Dienstag 03 Juli 2007 19:21 schrieb Paulo Marques:
>> [...]
>> I don't see this as a good reason not to implement 18bpp support in
>> fbcon. "Just PXA270 18bpp devices" can be a lot of devices out there.
>
> I guess most hardware developers will connect their LCD with only
> 16-bit, use RGB565, and are happy with that. It's a pity that this
> requires a physically different wiring of the LCD.
Yes, this is not an option for me or all the OpenEZX users/developers
with 18bpp phones :(
>> Anyway, can fbcon work with 18bpp palette mode? If it does, then this
>> should be enough for most users of 18bpp pxafb users: have a console
>> with a palette mode and then switch to non-palette mode and run whatever
>> windowing system supports 18bpp.
>
> I need to run gtk-directfb, and I'd be surprised if libcairo could handle
> that...
I wouldn't be so surprised... at least the documentation of DirectFB has
this:
DFBSurfacePixelFormat:
....
DSPF_RGB18 -> 6 bit RGB (3 byte/ red 6@16, green 6@6, blue 6@0)
....
I assume the "red 6@16" is a typo for "red 6@12", since the "3 byte /
green 6@6 and blue 6@0" match exactly the 18bpp packed format. Even
more, the "DSPF_ARGB6666" format is described as having "alpha 6@18" and
"red 6@16" which is of course impossible. It only makes sense as "red 6@12".
So maybe this is supposed to work with DirectFB...
>> I guess that even if it doesn't support 18bpp palette mode now, it
>> shouldn't be that hard to implement (nor should it cause that much bloat
>> to fbcon).
>
> fbcon is not the big problem. But there's a lot of userspace stuff out there
> where they create graphics in their own buffers and blit it into the
> framebuffer when ready. Most of them are definitely not prepared to support
> this format.
If we can't provide a 18bpp pxafb kernel driver, then there is *no*
userspace stuff that will be able to work.
At least "some userspace" will be better than "no userspace". And we can
always use the power of open-source to bring 18bpp support to those apps
that don't support it currently ;)
--
Paulo Marques - www.grupopie.com
"The Computer made me do it."
-------------------------------------------------------------------
List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php
Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
next prev parent reply other threads:[~2007-07-03 18:18 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-03 14:07 [PATCH] pxafb: Add support for other palette formats Hans-Jürgen Koch
2007-07-03 14:46 ` Paulo Marques
2007-07-03 15:03 ` Hans-Jürgen Koch
2007-07-03 15:24 ` Paulo Marques
2007-07-03 15:50 ` Lothar Wassmann
2007-07-03 15:58 ` Geert Uytterhoeven
2007-07-12 7:56 ` Antonino A. Daplas
2007-07-12 8:01 ` Antonino A. Daplas
2007-07-03 16:03 ` Paulo Marques
2007-07-03 16:45 ` Hans-Jürgen Koch
2007-07-03 17:21 ` Paulo Marques
2007-07-03 17:44 ` Hans-Jürgen Koch
2007-07-03 18:18 ` Paulo Marques [this message]
2007-07-04 7:17 ` Lothar Wassmann
2007-07-04 11:00 ` Paulo Marques
2007-07-04 6:56 ` Lothar Wassmann
2007-07-03 16:39 ` Hans-Jürgen Koch
2007-07-03 17:14 ` Lothar Wassmann
2007-07-03 17:33 ` Hans-Jürgen Koch
2007-07-13 12:20 ` Antonino A. Daplas
2007-07-13 12:39 ` Hans-Jürgen Koch
2007-07-03 19:01 ` Clemens Koller
2007-07-03 19:11 ` Hans-Jürgen Koch
2007-07-03 20:36 ` Hans-Jürgen Koch
2007-07-04 6:38 ` eric miao
2007-07-04 7:51 ` Lothar Wassmann
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=468A9300.7060608@grupopie.com \
--to=pmarques@grupopie.com \
--cc=hjk@linutronix.de \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=tglx@linutronix.de \
/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;
as well as URLs for NNTP newsgroup(s).