Re: [PATCH] pxafb: Add support for other palette formats
From: Paulo Marques <hidden>
Date: 2007-07-03 16:03:37
Lothar Wassmann wrote:
Hi,quoted
Can userspace applications work with such a weired format? If yes, I'm looking forward to your patch.At least framebuffer consoles don't work with that. So you should add a configuration option that allows enabling the strange PXA pixel formats only when CONFIG_FRAMEBUFFER_CONSOLE is not set.
Or maybe teach fbcon to use 18bpp modes?
BTW: PXA255 doesn't have an LCCR4 register.
If we make sure that we don't touch LCCR4 registers unless the platform driver asks for 18bpp we should be in the clear, no? However, the current patch does write to LCCR4 without checking this, but this should be a no-op if there is no register there, AFAICS. I'll try to handle it more correctly in my next patch, anyway. -- Paulo Marques - www.grupopie.com "You're just jealous because the voices only talk to me." ------------------------------------------------------------------- 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