diff options
author | Michal Januszewski <spock@gentoo.org> | 2009-04-13 23:39:49 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-14 00:04:29 +0200 |
commit | c26d7b29d9989cfd9004e688ad517925b0db37d0 (patch) | |
tree | 487c467fe90f2362df0ddf86e97efdbe4a42535a /drivers/video/sa1100fb.c | |
parent | namespaces: move get_mq() inside #ifdef CONFIG_SYSCTL (diff) | |
download | linux-c26d7b29d9989cfd9004e688ad517925b0db37d0.tar.xz linux-c26d7b29d9989cfd9004e688ad517925b0db37d0.zip |
s3fb: fix color component length for pseudocolor modes
s3fb incorrectly sets the length of the color fields to 6 bits for
PSEUDOCOLOR modes, even though 8 or 4 bits are used per pixel. Fix this
by setting the length to 8 or 4, respectively.
Signed-off-by: Michal Januszewski <spock@gentoo.org>
Acked-by: Ondrej Zajicek <santiago@crfreenet.org>
Cc: Krzysztof Helt <krzysztof.h1@poczta.fm>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/sa1100fb.c')
0 files changed, 0 insertions, 0 deletions