]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitda78cc4c1615eda39b45592f6f32159ab0e379c6
tree735bdadb8025241a514c672537f231c614010c61
parentba363cf45dccf4a38a3ed944b1637986310a3ebd
[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