diff options
Diffstat (limited to 'include/linux/mxcfb.h')
-rw-r--r-- | include/linux/mxcfb.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/mxcfb.h b/include/linux/mxcfb.h index 7588d9d09d16..962aa6072b82 100644 --- a/include/linux/mxcfb.h +++ b/include/linux/mxcfb.h @@ -92,6 +92,8 @@ struct mxcfb_rect { #define EPDC_FLAG_USE_ALT_BUFFER 0x100 #define EPDC_FLAG_TEST_COLLISION 0x200 #define EPDC_FLAG_GROUP_UPDATE 0x400 +#define EPDC_FLAG_USE_DITHERING_Y1 0x2000 +#define EPDC_FLAG_USE_DITHERING_Y4 0x4000 #define FB_POWERDOWN_DISABLE -1 @@ -153,6 +155,7 @@ struct mxcfb_waveform_modes { #define MXCFB_SET_PWRDOWN_DELAY _IOW('F', 0x30, int32_t) #define MXCFB_GET_PWRDOWN_DELAY _IOR('F', 0x31, int32_t) #define MXCFB_SET_UPDATE_SCHEME _IOW('F', 0x32, __u32) +#define MXCFB_GET_WORK_BUFFER _IOWR('F', 0x34, unsigned long) #ifdef __KERNEL__ @@ -160,6 +163,11 @@ extern struct fb_videomode mxcfb_modedb[]; extern int mxcfb_modedb_sz; enum { + MXC_DISP_SPEC_DEV = 0, + MXC_DISP_DDC_DEV = 1, +}; + +enum { MXCFB_REFRESH_OFF, MXCFB_REFRESH_AUTO, MXCFB_REFRESH_PARTIAL, @@ -168,5 +176,8 @@ enum { int mxcfb_set_refresh_mode(struct fb_info *fbi, int mode, struct mxcfb_rect *update_region); int mxc_elcdif_frame_addr_setup(dma_addr_t phys); +void mxcfb_elcdif_register_mode(const struct fb_videomode *modedb, + int num_modes, int dev_mode); + #endif /* __KERNEL__ */ #endif |