All of lore.kernel.org
 help / color / mirror / Atom feed
* pxafb: RGBT555 support
@ 2009-10-29 11:35 pieterg
  2009-11-04  9:28 ` pieterg
  0 siblings, 1 reply; 8+ messages in thread
From: pieterg @ 2009-10-29 11:35 UTC (permalink / raw)
  To: linux-arm-kernel

Hi all,

Great to see the 'recent' work on overlay support and color format fixes in 
pxafb.c.
Looks like I no longer need my local patches.

However, there is one thing that I cannot seem to accomplish just yet.
We have an LCD which is connected in an RGBT555 configuration.
That means somehow var->transp.length should be set to 1.
After that, it looks like pxafb_set_pxifmt should do its job just fine.

Would it make sense to add transparency info to pxafb_mode_info?
After all it is a hardware property, with our LCD and the way it is 
connected we won't be able to do RGB565, so our var->transp.length should 
be fixed at 1.
If pxafb_setmode could do that, based on the pxafb_mode_info, that would 
probably solve my problem.
Maybe something could be done by comparing 'depth' and 'bpp', if one is 16 
and the other 15, one could make the assumption the remaining bit is used 
for transparency.

Or am I overlooking something here, and is there a better way to force pxafb 
to RGBT555 for my LCD?

Rgds, Pieter

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-13  3:48 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-29 11:35 pxafb: RGBT555 support pieterg
2009-11-04  9:28 ` pieterg
2009-11-04  9:34   ` Eric Miao
2009-11-04 10:05     ` pieterg
2009-11-04 14:33       ` Eric Miao
2009-11-05 16:27         ` pieterg
2009-11-12 10:49           ` pieterg
2009-11-13  3:48             ` Eric Miao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.