From 022c22eff09201cbe3528375856e074c429f061c Mon Sep 17 00:00:00 2001 From: Petr Vandrovec Date: Fri, 30 May 2003 20:41:15 -0700 Subject: [PATCH] matroxfb update to new API This updates the matroxfb driver to the new framebuffer API. I'm sorry that it is quite large, but due to completely changed underlying API there is no reasonable way how to split it into smaller pieces. - Removed support for text mode. No way for it with current API. - Removed support for hardware cursor. Generic cursor code has enough troubles as is, in software mode. - No reasonable fbset support... It is especially annoying on multihead system, as 'stty cols XXX rows YYY' does not change pixclock... - Removed fastfont support. No way for it with current API. (Mis)features inherited from generic fbdev API: - Cursor on other framebuffers than primary one does not blink. - Contents of visible, but not foreground, display is not updated. --- include/linux/matroxfb.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'include/linux') diff --git a/include/linux/matroxfb.h b/include/linux/matroxfb.h index baf4bcbac93a..83fea12ad181 100644 --- a/include/linux/matroxfb.h +++ b/include/linux/matroxfb.h @@ -3,6 +3,7 @@ #include #include +#include struct matroxioc_output_mode { __u32 output; /* which output */ @@ -30,5 +31,13 @@ struct matroxioc_output_mode { /* which outputs exist on this framebuffer */ #define MATROXFB_GET_ALL_OUTPUTS _IOR('n',0xFB,sizeof(__u32)) +enum matroxfb_ctrl_id { + MATROXFB_CID_TESTOUT = V4L2_CID_PRIVATE_BASE, + MATROXFB_CID_DEFLICKER, + MATROXFB_CID_LAST +}; + +#define FBIO_WAITFORVSYNC _IOW('F', 0x20, u_int32_t) + #endif -- cgit v1.2.3