]> git.hungrycats.org Git - linux/commit
[PATCH] rivafb: directcolor mode and miscellaneous fixes
authorAntonino Daplas <adaplas@hotpop.com>
Mon, 23 Aug 2004 05:53:05 +0000 (22:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 Aug 2004 05:53:05 +0000 (22:53 -0700)
commit3b317c91590c212419f8a8b6d028f3b61c0930ee
treedcb37e5610e6a6554786b836e6ef361bae5f69d1
parentebf4fd17653bea269594fa54c5aedc18efd3ffa7
[PATCH] rivafb: directcolor mode and miscellaneous fixes

Although the rivafb advertises its capability as DirectColor, the hardware
is actually set in Truecolor (CLUT cannot be altered).  This mismatch
occasionally produces wrong colors, such as wrong logo colors at 32bpp and
gamma utilities (such as xgamma) does not work at all.

Changes:

1. Fixes the above problems by setting the hardware to accept changing
   of the CLUT.

2. Fixes color problems for NV_ARCH_03 (Riva128)

3. Build a private modelist from the EDID (for use by fbcon)

4. Mark several functions/data as __devinit/__initdata

5. Remove unused fields from struct riva_par

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/riva/fbdev.c
drivers/video/riva/riva_hw.c
drivers/video/riva/rivafb-i2c.c
drivers/video/riva/rivafb.h