[PATCH] More radeonfb fixes

Benjamin Herrenschmidt (benh@kernel.crashing.org)
11 Apr 2003 14:03:13 +0200


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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/