viafb: choose acceleration engine for VX855
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Tue, 22 Sep 2009 23:47:36 +0000 (16:47 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:53 +0000 (07:39 -0700)
Enable 2D hardware acceleration on VX855 for copyarea, imageblit and
fillrect by selecting the correct engine which is the same as in VX800.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Cc: Scott Fang <ScottFang@viatech.com.cn>
Cc: Joseph Chan <JosephChan@via.com.tw>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/via/accel.c

index 42ab4b425679eba9ccd3e5baab9408f89c149c85..9d4f3a49ba4a5038a333c940351dd85cf5df0deb 100644 (file)
@@ -337,6 +337,7 @@ int viafb_init_engine(struct fb_info *info)
                viapar->shared->hw_bitblt = hw_bitblt_1;
                break;
        case UNICHROME_VX800:
+       case UNICHROME_VX855:
                viapar->shared->hw_bitblt = hw_bitblt_2;
                break;
        default: