• A
    [PATCH] tridentfb: Fix scrolling artifacts if acceleration is enabled · 8dad46cf
    Antonino A. Daplas 提交于
    Reported by: Jochen Hein (Bugzilla Bug 4386)
    
    booting leaves the end of long lines in the last line on screen when
    scrolling.  When X is running, scrolling puts garbage on the screen
    (looks like X data) Console switch fixes the screen.  Behaviour seems to
    be identical with noaccel and without on the video=tridentfb parameter
    in lilo.conf.
    
    This bug was explained by: Knut_Petersen
    
    Acceleration is broken for all BLADE 3D chips for all versions of kernel
    2.6 except for 32bit modes.  Most important reason is that the u32 col
    parameter of the graphics engine needs the color value replicated to all
    u8 of the u32 (8bit modes) and to both u16 of the u32.
    
    Fix color value passed to graphics engine, verified by the reporter.
    Signed-off-by: NAntonino Daplas <adaplas@pol.net>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    8dad46cf
tridentfb.c 30.7 KB