diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2015-03-03 16:21:06 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-03-06 16:37:31 -0800 |
commit | 81dee67e215b23f0c98182eece122b906d35765a (patch) | |
tree | 05fef8acfc0e851abc77dc31de0f3cded599347e /drivers/staging/sm750fb/sm750_cursor.h | |
parent | c3d6047d95fad6d70894d7ff79d49e47deae41e5 (diff) | |
download | op-kernel-dev-81dee67e215b23f0c98182eece122b906d35765a.zip op-kernel-dev-81dee67e215b23f0c98182eece122b906d35765a.tar.gz |
staging: sm750fb: add sm750 to staging
sm750 of Silicon Motion is pci-e display controller device and has
features like dual display and 2D acceleration. This patch adds the
driver to staging.
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm750fb/sm750_cursor.h')
-rw-r--r-- | drivers/staging/sm750fb/sm750_cursor.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/staging/sm750fb/sm750_cursor.h b/drivers/staging/sm750fb/sm750_cursor.h new file mode 100644 index 0000000..8cede07 --- /dev/null +++ b/drivers/staging/sm750fb/sm750_cursor.h @@ -0,0 +1,17 @@ +#ifndef LYNX_CURSOR_H__ +#define LYNX_CURSOR_H__ + +/* hw_cursor_xxx works for voyager,718 and 750 */ +void hw_cursor_enable(struct lynx_cursor * cursor); +void hw_cursor_disable(struct lynx_cursor * cursor); +void hw_cursor_setSize(struct lynx_cursor * cursor, + int w,int h); +void hw_cursor_setPos(struct lynx_cursor * cursor, + int x,int y); +void hw_cursor_setColor(struct lynx_cursor * cursor, + u32 fg,u32 bg); +void hw_cursor_setData(struct lynx_cursor * cursor, + u16 rop,const u8* data,const u8* mask); +void hw_cursor_setData2(struct lynx_cursor * cursor, + u16 rop,const u8* data,const u8* mask); +#endif |