aboutsummaryrefslogtreecommitdiff
path: root/include/video
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2007-10-16 01:28:53 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 09:43:16 -0700
commit8f5d050af1da13455068cefbaf3c1bc306d6fe0b (patch)
tree8bb467007c47dbe822b62d3d4bff7dec69fc53c3 /include/video
parent5a258d032d8dff1c5e28ce64c47ac4577c2c5a70 (diff)
pm2fb: Permedia 2V hardware cursor support
This patch adds hardware cursor support for Permedia 2V chips. The hardware cursor is disabled by default. It does not blink - the same issue is mentioned in the x11 driver. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/permedia2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/permedia2.h b/include/video/permedia2.h
index cf1d95bce41..c6575b834fe 100644
--- a/include/video/permedia2.h
+++ b/include/video/permedia2.h
@@ -232,6 +232,8 @@
#define PM2F_APERTURE_STANDARD 0
#define PM2F_APERTURE_BYTESWAP 1
#define PM2F_APERTURE_HALFWORDSWAP 2
+#define PM2F_CURSORMODE_CURSOR_ENABLE (1 << 0)
+#define PM2F_CURSORMODE_TYPE_X (1 << 4)
typedef enum {
PM2_TYPE_PERMEDIA2,