[PATCH] atmel_lcdfb: support 16bit BGR:565 mode, remove unsupported 15bit modes
From: Russell King - ARM Linux <hidden>
Date: 2012-01-10 21:06:08
Also in:
linux-fbdev
From: Russell King - ARM Linux <hidden>
Date: 2012-01-10 21:06:08
Also in:
linux-fbdev
On Tue, Jan 10, 2012 at 02:02:18PM +0000, Jamie Lokier wrote:
If you're connecting an RGB555 or RGB444 panel, don't you want the software using the framebuffer to know this so it will dither appropriately? E.g. gradients look "bandy" if drawn in RGB565 then green's LSB is dropped.
This is why you use the bitfield stuff to tell userspace what the actual properties of the framebuffer are. (However, there are some userspace programs which ignore that information and think they know better than the kernel about how a frame buffer is organised - which is a constant pain in the butt when you have a display which isn't BGR. But that's really a userspace bug in those silly programs.)