[PATCH] fbdev: cirrusfb: Driver cleanup and bug fixes
authorAntonino A. Daplas <adaplas@gmail.com>
Wed, 30 Nov 2005 03:34:43 +0000 (19:34 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 30 Nov 2005 03:47:04 +0000 (19:47 -0800)
commit49d5c7b08713c3a482d62b5a0ad41b4ec32905a5
tree8437a91b94c03979832a8511ce95f542e06be1d7
parentfe655d3a06488c8a188461bca493e9f23fc8c448
[PATCH] fbdev: cirrusfb: Driver cleanup and bug fixes

- pseudo_palette is only 16 entries long

- the pseudo_palette, if using the generic drawing functions, must always be
  u32 regardless of bpp

- the fillrect accelerator is using region->color regardless of the visual.
  region->color is the index to the pseudo_palette if visual is truecolor

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/cirrusfb.c