[PATCHv3 1/3] video: mxsfb: fix color settings for 18bit data bus and 32bpp

From
Tomi Valkeinen <hidden>
Date
2013-08-02 08:36:04
Also in
linux-fbdev, lkml
Reply to
Maxime Ripard, 2013-08-01
On 01/08/13 11:40, Maxime Ripard wrote:
From: Hector Palacios <redacted>

For a combination of 18bit LCD data bus width and a color
mode of 32bpp, the driver was setting the color mapping to
rgb666, which is wrong, as the color in memory realy has an
rgb888 layout.

This patch also removes the setting of flag CTRL_DF24 that
makes the driver dimiss the upper 2 bits when handling 32/24bpp
colors in a diplay with 18bit data bus width. This flag made
true color images display wrong in such configurations.

Finally, the color mapping rgb666 has also been removed as nobody
is using it and high level applications like Qt5 cannot work
with it either.

Reference: https://lkml.org/lkml/2013/5/23/220
Signed-off-by: Hector Palacios <redacted>
Acked-by: Juergen Beisert <redacted>
Acked-by: Maxime Ripard <redacted>
Signed-off-by: Maxime Ripard <redacted>
---
 drivers/video/mxsfb.c | 26 --------------------------
 1 file changed, 26 deletions(-)
This one is labeled as "fix". Should it got to v3.11?

 Tomi



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130802/098526fa/attachment.sig>
Thread (8 messages) 8 messages, 2 authors, last reply 2013-08-02
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help