]> git.neil.brown.name Git - history.git/commit
[PATCH] radeonfb: Workaround memory corruption accel problem
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 19 Feb 2005 08:00:45 +0000 (00:00 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 19 Feb 2005 08:00:45 +0000 (00:00 -0800)
commit35878e469f9eb3b57132f17872d320673e7594b4
tree78f0adabf87a1a2743d74cd209aaa31ca96f7724
parent7590b6c9ca4e365f10bdb3fc3cd85cd26c9f6bb0
[PATCH] radeonfb: Workaround memory corruption accel problem

A conflict between X and radeonfb can cause system memory corruption
when switching console from X (note that this is not realted to the
recent radeonfb patches, the problem has been there forever as far as I
can tell).

This patch works around it in radeonfb by making sure the "offsets"
register that driver the memory mapping of the accel engine are always
properly set before every accel op. A better fix should be done in fbcon
ultimately.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/aty/radeon_accel.c