]> git.baikalelectronics.ru Git - kernel.git/commit
matroxfb: fix incorrect use of memcpy_toio()
authorOndrej Zary <linux@rainbow-software.org>
Thu, 19 Aug 2010 21:13:25 +0000 (14:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 20 Aug 2010 16:34:54 +0000 (09:34 -0700)
commitbbab3ddbb4aabad6290d958e9c6104000a19645b
treeada3e578b5bf65302cdabc7fd101e9b60c71440d
parentcc95cc33c7e45d816f21471720752d5d82d08e9a
matroxfb: fix incorrect use of memcpy_toio()

Screen is completely corrupted since 2.6.34.  Bisection revealed that it's
caused by commit 12ad0a988986bc6 ("x86: Clean up mem*io functions.").

H.  Peter Anvin explained that memcpy_toio() does not copy data in 32bit
chunks anymore on x86.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Cc: Brian Gerst <brgerst@gmail.com>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Petr Vandrovec <vandrove@vc.cvut.cz>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: <stable@kernel.org> [2.6.34.x, 2.6.35.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/matrox/matroxfb_base.h