Hello all,
there is some problem i am facing on DM368 Flip-ON MIRROOR-ON ( On DM365 i don't face the same problem at same condition )
If my video Display out put is enabeled with Flip ON - Mirror ON then my Analog Display output for moving objects looks to be cracked .
If i make a delay of 5ms in the postpone buffer the display out put is ok.
Its very strange . Normal case my Analog Video Display output is ok with out addition of any delay.
I can not afford a 5ms delay.
Following is my Kernel Flip/Mirror Modified source : ( As the original Source Flip Mirror don't work properly , it continiously flips between flip and mirror condition if both on)
Inside Dm365_ipipe_hw.c , rsz_set_rsz_regs()
//Fix FLIP/MIRROR Bug Modified Source
if ((get_device_type() == 7)||(get_device_type() == 8)){
if (rsc_params->h_flip)
utemp |= rsc_params->h_flip << RSZA_H_FLIP_SHIFT;
else
utemp &= ~(1 << RSZA_H_FLIP_SHIFT);
if (rsc_params->v_flip)
utemp |= rsc_params->v_flip << RSZA_V_FLIP_SHIFT;
else
utemp &= ~(1 << RSZA_V_FLIP_SHIFT);
}else
{
//Orginal Source
utemp = rsc_params->h_flip << RSZA_H_FLIP_SHIFT;
utemp |= rsc_params->v_flip << RSZA_V_FLIP_SHIFT;
}
reg_base = RSZ_EN_A;
} else {
rsc_params = ¶ms->rsz_rsc_param[RSZ_B];
rgb = ¶ms->rsz2rgb[RSZ_B];
ext_mem = ¶ms->ext_mem_param[RSZ_B];
//Fix FLIP/MIRROR Bug Modified Source
if ((get_device_type() == 7)||(get_device_type() == 8)){
if (rsc_params->h_flip)
utemp |= rsc_params->h_flip << RSZB_H_FLIP_SHIFT;
else
utemp &= ~(1 << RSZB_H_FLIP_SHIFT);
if (rsc_params->v_flip)
utemp |= rsc_params->v_flip << RSZB_V_FLIP_SHIFT;
else
utemp &= ~(1 << RSZB_V_FLIP_SHIFT);
}else
{
//Original Source
utemp = rsc_params->h_flip << RSZB_H_FLIP_SHIFT;
utemp |= rsc_params->v_flip << RSZB_V_FLIP_SHIFT;
}
reg_base = RSZ_EN_B;