• Antonino Daplas's avatar
    [PATCH] rivafb: directcolor mode and miscellaneous fixes · 3b317c91
    Antonino Daplas authored
    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: default avatarAntonino Daplas <adaplas@pol.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    3b317c91
fbdev.c 58.2 KB