[PATCH] ARM: Fix AMBA CLCD fb driver for 32bpp
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 28 Apr 2005 09:43:52 +0000 (10:43 +0100)
committerRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 28 Apr 2005 09:43:52 +0000 (10:43 +0100)
commit82235e9170f19fa327361ee82a76618e60f2db47
tree735bdadb8025241a514c672537f231c614010c61
parentc4d12b98ead8bb2437f656c17e7ef065fa160e13
[PATCH] ARM: Fix AMBA CLCD fb driver for 32bpp

We were supporting 24bpp.  However, the pixel organisation in
memory was 0RGB, so it was 24bpp in 32bit words.  This means
we're actually supporting 32bpp and not 24bpp.

Also, add a check to ensure that we don't exceed the available
framebuffer when changing display resolutions.

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
drivers/video/amba-clcd.c
include/asm-arm/hardware/amba_clcd.h