Hi,
I am getting SYNC LOSTerror on OMAP development board ( LDP ), this happens when I enable mirroring by a command
#echo 1 > /sys/class/graphics/fb0/mirror
In brief, recently I ported board related funtions to support both LCD and TV displays on Omap LDP, mirroring works on TV but not LCD. Attached log gives more details.
Any inputs are appreciated.
Regards,
Subbu
apdss MANAGER: omap_dss_mgr_apply(lcd)
<7>omapdss OVERLAY: check_overlay 0: (0,0 480x640 -> 480x640) disp (480x640)
<7>omapdss DISPC: dispc_setup_plane 0, ch 0, pa 804cd000, sw 480, 0,0, 480x640 -
> 480x640, ilace 0, cmode 40, rot 0, mir 1
<7>omapdss DISPC: calc_rot(0): scrw 480, 480x640
<7>omapdss DISPC: offset0 958, offset1 958, row_inc 1917, pix_inc -3
<7>omapdss DISPC: 0,0 480x640 -> 480x640
<7>omapdss DISPC: dispc_enable_plane 0, 1
<7>omapdss DISPC: dispc_enable_plane 1, 0
<7>omapdss DISPC: dispc_enable_plane 2, 0
<7>omapdss DISPC: FIFO merge enabled
<7>omapdss DISPC: fifo(0) size 3072, low/high old 3008/3071, new 3008/3071
<7>omapdss DISPC: GO LCD
<7>DISPC IRQ: 0xe2: GFX_FIFO_UNDERFLOW
<3>omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
<7>DISPC IRQ: 0x40e2: GFX_FIFO_UNDERFLOW SYNC_LOST
<7>omapdss DISPC: dispc_enable_plane 0, 0
<7>omapdss DISPC: GO LCD
<7>DISPC IRQ: 0x4062: GFX_FIFO_UNDERFLOW SYNC_LOST
<3>omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
omapdss DISPC error: GFX_FIFO_UNDERFLOW, disabling GFX
<7>omapdss DISPC: dispc_enable_plane 0, 0
<7>omapdss DISPC: GO LCD
<3>omapdss DISPC error: SYNC_LOST, disabling LCD
omapdss DISPC error: SYNC_LOST, disabling LCD
fb0 Fixed Info:<7>OMAPFB: Closing fb with plane index 0
@ 0x0, len=0x0, line=0x0 (0) bytes,
Geometry - 485054 x 0, 1073862224 bpp
Color - offset:length:msb_right
Gr<7>omapdss CORE: save context
eyscale 0
Nonstd 1
Red 1<7>omapdss DISPC: dispc_enable_plane 1, 0
79943116:68832:1073862944
Gr<7>omapdss CORE: save context
<7>omapdss DISPC: dispc_enable_plane 2, 0
Blue 1073893376:0:1073863712<7>omapdss CORE: save context
Transparent 68852:107379867<7>omapdss CORE: save context
6:1073862944
visual: 0
0 mm high x -1094930553 mm wide
-----------------------------------
# <7>omapdss DISPC: onoff 0 rf 0 ieo 0 ipc 0 ihs 1 ivs 1 acbi 0 acb 0
<7>omapdss DISPC: dpll4_m4 = 432000000
<7>omapdss DISPC: fck = 123428570 (7)
<7>omapdss DISPC: lck = 123428570 (1)
<7>omapdss DISPC: pck = 41142856 (3)
<7>omapdss DISPC: xres 480 yres 640
<7>omapdss DISPC: pck 41142
<7>omapdss DISPC: hsw 3 hfp 3 hbp 39 vsw 1 vfp 2 vbp 7
<7>omapdss DISPC: hsync 78365Hz, vsync 120Hz
<7>DISPC IRQ: 0x4020: SYNC_LOST
<3>omapdss DISPC error: SYNC_LOST, disabling LCD
omapdss DISPC error: SYNC_LOST, disabling LCD
<7>omapdss CORE: save context
<7>omapdss DISPC: dispc_enable_plane 1, 0
<7>omapdss CORE: save context
<7>omapdss DISPC: dispc_enable_plane 2, 0
<7>omapdss CORE: save context
<7>omapdss CORE: save context
<7>omapdss DISPC: onoff 0 rf 0 ieo 0 ipc 0 ihs 1 ivs 1 acbi 0 acb 0
<7>omapdss DISPC: dispc clock info found from cache.
<7>omapdss DISPC: dpll4_m4 = 432000000
<7>omapdss DISPC: fck = 123428570 (7)
<7>omapdss DISPC: lck = 123428570 (1)
<7>omapdss DISPC: pck = 41142856 (3)
<7>omapdss DISPC: xres 480 yres 640
<7>omapdss DISPC: pck 41142
<7>omapdss DISPC: hsw 3 hfp 3 hbp 39 vsw 1 vfp 2 vbp 7
<7>omapdss DISPC: hsync 78365Hz, vsync 120Hz
--
These are my bootargs
bootargs=mem=112M console=ttyS2,115200n8 noinitrd root=/dev/nfs rw nfsroot=10.87.230.75:/data/EVM_filesystems/x0055901/target.smc24,nolock,tcp,rsize=2048,wsize=2048 ip=10.87.224.163 omapdss.debug=y omapfb.debug=y vram=8M