]> git.neil.brown.name Git - history.git/commit
[PATCH] fbdev: fix wrong colors at 16 bpp in tridentfb
authorAntonino Daplas <adaplas@hotpop.com>
Thu, 2 Dec 2004 23:47:08 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 2 Dec 2004 23:47:08 +0000 (15:47 -0800)
commite681089e7a7701c99623f99761d1ca0f0143c6d6
treee3fe94aab96ba12341a288174bc9522771d568d6
parentb148c74d9f0717c03cd79ae2614adf8d52328b51
[PATCH] fbdev: fix wrong colors at 16 bpp in tridentfb

Timothy Lee reports:

Hardware: CyberBlade/i1 on VIA Epia-800

Problem Description:  When the framebuffer is set to 16 bpp, console's text
colours are incorrect.  For example, white becomes yellow, black becomes blue, etc.

Steps to reproduce:
1. Load tridentfb
2. Use "setterm -n -depth 16" to request 16 bpp framebuffer

The problem arose from the fact that each psuedo palette entry should be
32-bit in size, even under 16-bit display mode.

Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/tridentfb.c