Hi.
I use ti-processor-sdk-linux-am335x-evm-01.00.00.03 in Beaglebone-Black.
I use directly framebuffer for TFT LCD Display.
But My LCD Display have flicker.
Dual Framebuffer Switching Source.
void LcdFb_Flip ( void )
{
unsigned char PreIndex ;
unsigned long dummy ;
if ( g_LcdFd == -1 )
return ;
PreIndex = g_FBFlipIndex ;
++ g_FBFlipIndex ;
if ( g_FBFlipIndex >= MAX_FB_PAGE )
g_FBFlipIndex = 0 ;
g_FBVar.activate = FB_ACTIVATE_VBL ; ---------------> Active After VSync Blank Check ?
g_FBVar.xoffset = 0 ;
g_FBVar.yoffset = g_FBFlipIndex * FB_YSIZE ; -----------------> Y-Offset Location Switching
if ( ioctl ( g_LcdFd, FBIOPAN_DISPLAY, &g_FBVar ) < 0 )
MessageOut ( 3, "FBIOPAN_DISPLAY run Error !\n" ) ;
g_FBDrawMaped = (unsigned short *)(g_FBMaped + (PreIndex * FB_FRAME_SIZE)) ; ------------> New Drawing Address
}
I don't know How modify.
Help !