}
}
+#ifdef CONFIG_FB_ROCKCHIP
extern void rk_direct_fb_show(struct fb_info *fbi);
extern struct fb_info* rk_get_fb(int fb_id);
extern bool rk_fb_poll_wait_frame_complete(void);
bool status;
rk_fb_dpi_open(false);
status = rk_fb_poll_wait_frame_complete();
-
iep_drvdata1->dpi_mode = false;
IEP_INFO("%s %d, iep dpi inactivated\n",
__func__, __LINE__);
return 0;
}
+#endif
static void iep_reg_copy_to_hw(struct iep_reg *reg)
{
{
void *pbase = (void *)iep_drvdata1->iep_base;
int mode = iep_get_deinterlace_mode(pbase);
+#ifdef CONFIG_FB_ROCKCHIP
struct fb_info *fb;
-
+#endif
switch (mode) {
case dein_mode_I4O1B:
iep_set_deinterlace_mode(dein_mode_I4O1T, pbase);
default:
;
}
-
+#ifdef CONFIG_FB_ROCKCHIP
fb = rk_get_fb(1);
rk_direct_fb_show(fb);
-
+#endif
/*iep_switch_input_address(pbase);*/
}
if (list_empty(&iep_service.running)) {
if (!list_empty(&iep_service.ready)) {
reg = list_entry(iep_service.ready.next, struct iep_reg, status_link);
-
+#ifdef CONFIG_FB_ROCKCHIP
iep_switch_dpi(reg);
-
+#endif
iep_reg_from_ready_to_running(reg);
iep_config_frame_end_int_en(iep_drvdata1->iep_base);
iep_config_done(iep_drvdata1->iep_base);