radeonfb: Disable new color expand acceleration unless explicitely enabled
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 9 Dec 2008 04:54:18 +0000 (15:54 +1100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 Dec 2008 16:24:38 +0000 (08:24 -0800)
commitf3179748a157c21d44d929fd3779421ebfbeaa93
tree7617077768413c830d80288b510da379ef181811
parentf7a8db89c1f42e504bb12d2ae399cd96f755a7db
radeonfb: Disable new color expand acceleration unless explicitely enabled

This new color expansion acceleration for radeonfb appears to trigger
problems with X on VT switch and suspend/resume on some machines. It
might be a problem in the VT layer or in X, but I haven't quite found
it yet, so in the meantime, this disables the acceleration by default,
reverting to 2.6.27 state. It can be enabled using the "accel_cexp"
module parameter or fbdev argument.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/aty/radeon_accel.c
drivers/video/aty/radeon_base.c
drivers/video/aty/radeonfb.h