mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
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>
This commit is contained in:
parent
2d72b11cd2
commit
9265576dae
2 changed files with 226 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue