fbdev: s1d13xxxfb: add accelerated bitblt functions

Add accelerated bitblt functions to s1d13xxx based video chipsets, more
specificly functions copyarea and fillrect.

It has only been tested and activated for 13506 chipsets but is expected
to work for the majority of s1d13xxx based chips.  This patch also cleans
up the driver with respect of whitespaces and other formatting issues.  We
update the current status comments.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
Cc: Russell King <rmk@arm.linux.org.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>
This commit is contained in:
Kristoffer Ericson
2009-06-16 15:34:40 -07:00
committed by Linus Torvalds
parent fe3a1aa239
commit 3ed167af96
2 changed files with 317 additions and 33 deletions

View File

@@ -136,6 +136,15 @@
#define S1DREG_DELAYOFF 0xFFFE
#define S1DREG_DELAYON 0xFFFF
#define BBLT_FIFO_EMPTY 0x00
#define BBLT_FIFO_NOT_EMPTY 0x40
#define BBLT_FIFO_NOT_FULL 0x30
#define BBLT_FIFO_HALF_FULL 0x20
#define BBLT_FIFO_FULL 0x10
#define BBLT_SOLID_FILL 0x0c
/* Note: all above defines should go in separate header files
when implementing other S1D13xxx chip support. */