This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

display garbage on screen

Other Parts Discussed in Thread: SYSCONFIG

I am using beagleboard white AM335xevm  with android 4.0 on it . I have a 7" LCD display attached to  it . Usually system is running properly.

But it shows a Random display garbage on screen . I checked the kernel log at display garbage time it was saying 

"omaplfbvsync timed out - 0"  . At this moment my touch keep on working properly.  And after sometime again it become normal . 

 

I have tried to increase vsync wait time in 

services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c   

but it did't helped. 

 

 

Do anybody have idea what we can do here . 

Let  me know if u need more info on system side.

 

screen shot

 

  • I am able to see that log message "omaplfbvsync timed out - 0" coming from 

    services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c   

    code snipet 
    #######################################################################################################
    OMAPLFB_BOOL OMAPLFBWaitForVSync(OMAPLFB_DEVINFO *psDevInfo)
    {
          int r,timeout;
     
          void grpx_irq_wait_handler(void *data)
     
          {
      complete((struct completion *)data);
     
          }
     
          DECLARE_COMPLETION_ONSTACK(completion);
     
     
     
          if (register_vsync_cb((vsync_callback_t)grpx_irq_wait_handler, &completion, psDevInfo->uiFBDevID) != 0)
     
          {
     
              printk (KERN_WARNING DRIVER_PREFIX ": Failed to register for vsync call back\n");
     
              return OMAPLFB_FALSE;
     
          }
     
         timeout = wait_for_completion_interruptible_timeout(&completion, 3);
     
         if(timeout<=0)
              printk (KERN_WARNING DRIVER_PREFIX "vsync timed out - %d\n", timeout);
     
          if (unregister_vsync_cb((vsync_callback_t)grpx_irq_wait_handler , &completion, psDevInfo->uiFBDevID) != 0)
     
          {
     
              printk (KERN_WARNING DRIVER_PREFIX ": Failed to un-register for vsync call back\n");
     
              return OMAPLFB_FALSE;
     
          }
          return OMAPLFB_TRUE;
    }
    ##############################################################################################################
    Can anybody help me in finding exactly what wrong is going here. 
  • some register value collected after system bootup 

    0x04 : 0x00000a01 [CTL]
       0x28 : 0x00280081 [RASTER_CTRL]
       0x2c : 0x00ff0310   [RASTER_TIMING_0]
       0x30 : 0x002c01df  [RASTER_TIMING_1]
       0x34 : 0x0230ff00   [RASTER_TIMING_2]
       0x40 : 0x00000041 [LCDDMA_CTRL]
       0x44 : 0x8fa00000  [LCDDM_FB0_BASE]
       0x48 : 0x8fabb7fc   [LCDDM_FB0_CEILING]
       0x4c : 0x8fa00000  [LCDDM_FB1_BASE]
       0x50 : 0x8fabb7fc   [LCDDM_FB1_CEILING]
       0x54 : 0x00000014 [SYSCONFIG]
       0x58 : 0x00000002 [IRQSTATUS_RAW]
       0x5c : 0x00000000 [IRQSTATUS]