diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-01-22 11:02:10 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-02-19 11:08:41 +0000 |
commit | e6b9c1f8a623bfaa545067df73213db1c9c8e7af (patch) | |
tree | 735d23cf96b81103c7771156fc760c17f186c6a8 /drivers/video/amba-clcd.c | |
parent | 9728c1b6a724daefc413b44e10253cdbb5e06d08 (diff) |
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 'drivers/video/amba-clcd.c')
0 files changed, 0 insertions, 0 deletions