---help---
Framebuffer driver for rockchip based platform
+config FB_MIRRORING
+ bool "Mirroring support"
+ depends on FB_ROCKCHIP
choice
bool "Dual display ploy select"
depends on FB_ROCKCHIP
help
select y if android support three buffer,like Jelly Bean
-config FB_WIMO
- bool "WiMO support"
- depends on FB_ROCKCHIP
- default n
- help
- Support wimo
config LCDC_RK2928
tristate "rk2928 lcdc support"
obj-$(CONFIG_FB_ROCKCHIP) += rk_fb.o rkfb_sysfs.o
-obj-$(CONFIG_FB_WIMO) +=wimo.o
obj-$(CONFIG_LCDC_RK30) += lcdc/rk30_lcdc.o
obj-$(CONFIG_LCDC_RK2928) += lcdc/rk2928_lcdc.o
obj-$(CONFIG_LCDC_RK3066B) += lcdc/rk3066b_lcdc.o
void rk29_backlight_set(bool on);
bool rk29_get_backlight_status(void);
-#ifdef FB_WIMO_FLAG
-int (*video_data_to_wimo)(struct fb_info *info,u32 yuv_phy[2]) = NULL;
-EXPORT_SYMBOL(video_data_to_wimo);
+#ifdef CONFIG_FB_MIRRORING
+
+
+int (*video_data_to_mirroring)(struct fb_info *info,u32 yuv_phy[2]) = NULL;
+EXPORT_SYMBOL(video_data_to_mirroring);
#endif
static struct platform_device *g_fb_pdev;
#endif
#endif
dev_drv->pan_display(dev_drv,layer_id);
- #ifdef FB_WIMO_FLAG
- if(video_data_to_wimo!=NULL)
- video_data_to_wimo(info,NULL);
+ #ifdef CONFIG_FB_MIRRORING
+ if(video_data_to_mirroring!=NULL)
+ video_data_to_mirroring(info,NULL);
#endif
return 0;
}
snd_printd("unknown ioctl = 0x%x\n", cmd);
return -ENOTTY;
}
-#ifdef CONFIG_FB_WIMO
-int (*audio_data_to_wimo)(void* data,int size,int channel) = NULL;
-EXPORT_SYMBOL(audio_data_to_wimo);
+#ifdef CONFIG_FB_MIRRORING
+int (*audio_data_to_mirroring)(void* data,int size,int channel) = NULL;
+EXPORT_SYMBOL(audio_data_to_mirroring);
#endif
static int snd_pcm_playback_ioctl1(struct file *file,
return -EFAULT;
if (copy_from_user(&xferi, _xferi, sizeof(xferi)))
return -EFAULT;
- #ifdef CONFIG_FB_WIMO
+ #ifdef CONFIG_FB_MIRRORING
- if(audio_data_to_wimo!=NULL)
- audio_data_to_wimo(xferi.buf, xferi.frames*4,2);
+ if(audio_data_to_mirroring!=NULL)
+ audio_data_to_mirroring(xferi.buf, xferi.frames*4,2);
#endif