aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHector Palacios <hector.palacios@digi.com>2013-08-01 10:40:35 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2013-08-02 13:13:33 +0300
commit208df1e4cbb13140d2f822cd2b15c00b51978776 (patch)
tree7e48dbae4423d6bd59754214bffd69437c239f99 /arch
parentOMAPDSS: analog-tv-connector: compile fix (diff)
downloadlinux-dev-208df1e4cbb13140d2f822cd2b15c00b51978776.tar.xz
linux-dev-208df1e4cbb13140d2f822cd2b15c00b51978776.zip
video: mxsfb: fix color settings for 18bit data bus and 32bpp
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 <hector.palacios@digi.com> Acked-by: Juergen Beisert <jbe@pengutronix.de> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions