summaryrefslogtreecommitdiffstats
path: root/include/linux/sm501-regs.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@simtec.co.uk>2009-12-15 16:46:35 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-16 07:20:04 -0800
commit9265576daeab1a884b11cc4c1087b72b488ca2e3 (patch)
treee21022eba5e75727ba51fde8d6198cc893dbcf18 /include/linux/sm501-regs.h
parent2d72b11cd2f4f81d7f817c3795224061bcefdd9e (diff)
downloadlinux-9265576daeab1a884b11cc4c1087b72b488ca2e3.tar.gz
linux-9265576daeab1a884b11cc4c1087b72b488ca2e3.tar.bz2
linux-9265576daeab1a884b11cc4c1087b72b488ca2e3.zip
sm501: implement acceleration features
This patch provides the acceleration entry points for the SM501 framebuffer driver. This patch provides the sync, copyarea and fillrect entry points, using the SM501's 2D acceleration engine to perform the operations in-chip rather than across the bus. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Simtec Linux Team <linux@simtec.co.uk> Signed-off-by: Vincent Sanders <vince@simtec.co.uk> Cc: Krzysztof Helt <krzysztof.h1@poczta.fm> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/sm501-regs.h')
-rw-r--r--include/linux/sm501-regs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sm501-regs.h b/include/linux/sm501-regs.h
index d53642d2d899..67ed2c542831 100644
--- a/include/linux/sm501-regs.h
+++ b/include/linux/sm501-regs.h
@@ -31,6 +31,8 @@
#define SM501_SYSCTRL_PCI_SUBSYS_LOCK (1<<11)
#define SM501_SYSCTRL_PCI_BURST_READ_EN (1<<15)
+#define SM501_SYSCTRL_2D_ENGINE_STATUS (1<<19)
+
/* miscellaneous control */
#define SM501_MISC_CONTROL (0x000004)