From 8f5d050af1da13455068cefbaf3c1bc306d6fe0b Mon Sep 17 00:00:00 2001 From: Krzysztof Helt Date: Tue, 16 Oct 2007 01:28:53 -0700 Subject: 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 Signed-off-by: Antonino Daplas Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/video/permedia2.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/video/permedia2.h') diff --git a/include/video/permedia2.h b/include/video/permedia2.h index cf1d95bce412..c6575b834fef 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, -- cgit v1.2.2