summaryrefslogtreecommitdiff
path: root/arch/arm/plat-versatile/clcd.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-01-22 11:02:10 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-02-19 11:08:41 (GMT)
commite6b9c1f8a623bfaa545067df73213db1c9c8e7af (patch)
tree735d23cf96b81103c7771156fc760c17f186c6a8 /arch/arm/plat-versatile/clcd.c
parent9728c1b6a724daefc413b44e10253cdbb5e06d08 (diff)
downloadlinux-fsl-qoriq-e6b9c1f8a623bfaa545067df73213db1c9c8e7af.tar.xz
ARM: integrator: support CLCD RGB5551 layout for 16bpp
When the CLCD is in anything but RGB888 mode, its outputs are configured for RGB5551 output. Integrator/CP supports RGB565 via an external multiplexer, which we configure for RGB5551 or RGB565 based only on the bits per pixel. So when userspace asks for the RGB555 layout, the mux remains in RGB565 mode, and we produce incorrect colours. Fix this. Note that Integrator doesn't support BGR565 mode, but does support BGR5551. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-versatile/clcd.c')
0 files changed, 0 insertions, 0 deletions