static dev_t di_devno;
static struct class *di_clsp;
-static const char version_s[] = "2018-07-17a";
+static const char version_s[] = "2018-07-31a";
static int bypass_state = 1;
static int bypass_all;
#endif
enable_di_pre_mif(true, mcpre_en);
if (cpu_after_eq(MESON_CPU_MAJOR_ID_G12A)) {
- pre_frame_reset_g12a(di_pre_stru.madi_enable,
+ pre_frame_reset_g12(di_pre_stru.madi_enable,
di_pre_stru.mcdi_enable);
} else {
pre_frame_reset();
* frame reset for pre which have nothing with encoder
* go field
*/
-void pre_frame_reset_g12a(unsigned char madi_en,
+void pre_frame_reset_g12(unsigned char madi_en,
unsigned char mcdi_en)
{
unsigned int reg_val = 0;
if (cpu_after_eq(MESON_CPU_MAJOR_ID_G12B))
reset_pre_simple_rd_mif_g12(madi_en, mcdi_en);
else {
+ reg_val = RDMA_RD(DI_PRE_CTRL);
if (madi_en)
reg_val |= (1<<25);
if (mcdi_en)
void film_mode_win_config(unsigned int width, unsigned int height);
void pulldown_vof_win_config(struct pulldown_detected_s *wins);
void di_load_regs(struct di_pq_parm_s *di_pq_ptr);
-void pre_frame_reset_g12a(unsigned char madi_en, unsigned char mcdi_en);
+void pre_frame_reset_g12(unsigned char madi_en, unsigned char mcdi_en);
void pre_frame_reset(void);
void di_interrupt_ctrl(unsigned char ma_en,
unsigned char det3d_en, unsigned char nrds_en,