summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2009-09-22 16:47:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-23 07:39:53 -0700
commit3a32456909380150a92ed207c160a3a0bd687e14 (patch)
treeeb726e0c47ebac0ee528423ceef0e9f9d9bbbf67
parent0306ab11c396f93056009152464ff104e4721817 (diff)
downloadlinux-3a32456909380150a92ed207c160a3a0bd687e14.tar.gz
linux-3a32456909380150a92ed207c160a3a0bd687e14.tar.bz2
linux-3a32456909380150a92ed207c160a3a0bd687e14.zip
viafb: choose acceleration engine for VX855
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>
-rw-r--r--drivers/video/via/accel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/via/accel.c b/drivers/video/via/accel.c
index 42ab4b425679..9d4f3a49ba4a 100644
--- a/drivers/video/via/accel.c
+++ b/drivers/video/via/accel.c
@@ -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: