viafb: choose acceleration engine for VX855
Florian Tobias Schandinat [Tue, 22 Sep 2009 23:47:36 +0000 (16:47 -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 42ab4b4..9d4f3a4 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: