[PATCH] More radeonfb fixes
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2003-04-11 11:51:25
Also in:
lkml
Here's a new patch against 2.4.20 and 2.4.21-pre7 which brings more fixes to radeonfb: - Fix the M6 video RAM workaround - Some bits in the PM code were flipped, fix that. - RB2D_DSTCACHE_MODE shouldn't be cleared on r300 (and maybe not on others according to a comment in XFree, but we keep working code for now). - Re-change the pitch workaround. We now align the pitch when accel is enabled for a given mode, and we don't when accel is disabled. That should properly deal with all cases and allows us to remove the "special case" accel code - Bring in XFree workaround to not write the same value to the PLL (can cause blanking of some panels) - Bring in some of Peter Horton fixes (accel reset, cleanups) still some more to get in though... - Properly reset accel engine on each console switch so we work around switching from XFree leaving it in a weird state. Also extend the comparison of values causing us to reload the mode on console switch. NOTE: The 2.4.20 patch no longer mess with non related entries in pci_ids.h, however the 2.4.21 patch still adds a couple of new ones not related to radeons, but that should be harmless. Patches available at: http://www.penguinppc.org/~benh/radeonfb-041103-2.4.20.diff http://www.penguinppc.org/~benh/radeonfb-041103-2.4.21-pre7.diff Ben.