mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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. [[email protected]: coding-style fixes] Signed-off-by: Kristoffer Ericson <[email protected]> Cc: Russell King <[email protected]> Cc: Krzysztof Helt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fe3a1aa239
commit
3ed167af96
2 changed files with 317 additions and 33 deletions
|
|
@ -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. */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue