* DSS2: SYNC Lost error on mirroring enabled
@ 2009-05-29 1:32 Venkatesh, Subbu
2009-05-29 6:51 ` Tomi Valkeinen
0 siblings, 1 reply; 5+ messages in thread
From: Venkatesh, Subbu @ 2009-05-29 1:32 UTC (permalink / raw)
To: linux-omap@vger.kernel.org
Cc: Shah, Hardik, Castaneda Gonzalez, Axel, tomi.valkeinen@nokia.com,
Mande, Nikhil
[-- Attachment #1: Type: text/plain, Size: 382 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: dss2-dma-mirror-error.log --]
[-- Type: text/x-log; name="dss2-dma-mirror-error.log", Size: 3344 bytes --]
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: DSS2: SYNC Lost error on mirroring enabled
2009-05-29 1:32 DSS2: SYNC Lost error on mirroring enabled Venkatesh, Subbu
@ 2009-05-29 6:51 ` Tomi Valkeinen
2009-05-29 12:06 ` Venkatesh, Subbu
0 siblings, 1 reply; 5+ messages in thread
From: Tomi Valkeinen @ 2009-05-29 6:51 UTC (permalink / raw)
To: ext Venkatesh, Subbu
Cc: linux-omap@vger.kernel.org, Shah, Hardik,
Castaneda Gonzalez, Axel, Mande, Nikhil
On Fri, 2009-05-29 at 03:32 +0200, ext Venkatesh, Subbu wrote:
> 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.
You need to use VRFB rotation, DMA rotation is only meant for SRAM
framebuffers.
Tomi
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: DSS2: SYNC Lost error on mirroring enabled
2009-05-29 6:51 ` Tomi Valkeinen
@ 2009-05-29 12:06 ` Venkatesh, Subbu
2009-05-29 12:20 ` Tomi Valkeinen
0 siblings, 1 reply; 5+ messages in thread
From: Venkatesh, Subbu @ 2009-05-29 12:06 UTC (permalink / raw)
To: tomi.valkeinen@nokia.com
Cc: linux-omap@vger.kernel.org, Shah, Hardik,
Castaneda Gonzalez, Axel, Mande, Nikhil
Hello Tomi,
I have no problem with the Roatation using VRFB.
Curretnly the issue is with the Mirroring. Using VRFB for mirroring has no effect as I see in the omapfb-main.c, if Rotation type is VRFB, then mirror=0. So I cannot use mirroring at all.
Regards,
Subbu
________________________________________
From: Tomi Valkeinen [tomi.valkeinen@nokia.com]
Sent: Friday, May 29, 2009 1:51 AM
To: Venkatesh, Subbu
Cc: linux-omap@vger.kernel.org; Shah, Hardik; Castaneda Gonzalez, Axel; Mande, Nikhil
Subject: Re: DSS2: SYNC Lost error on mirroring enabled
On Fri, 2009-05-29 at 03:32 +0200, ext Venkatesh, Subbu wrote:
> 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.
You need to use VRFB rotation, DMA rotation is only meant for SRAM
framebuffers.
Tomi
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: DSS2: SYNC Lost error on mirroring enabled
2009-05-29 12:06 ` Venkatesh, Subbu
@ 2009-05-29 12:20 ` Tomi Valkeinen
2009-06-01 17:53 ` Venkatesh, Subbu
0 siblings, 1 reply; 5+ messages in thread
From: Tomi Valkeinen @ 2009-05-29 12:20 UTC (permalink / raw)
To: ext Venkatesh, Subbu
Cc: linux-omap@vger.kernel.org, Shah, Hardik,
Castaneda Gonzalez, Axel, Mande, Nikhil
Hi,
On Fri, 2009-05-29 at 14:06 +0200, ext Venkatesh, Subbu wrote:
> Hello Tomi,
> I have no problem with the Roatation using VRFB.
> Curretnly the issue is with the Mirroring. Using VRFB for mirroring has no effect as I see in the omapfb-main.c, if Rotation type is VRFB, then mirror=0. So I cannot use mirroring at all.
I meant that VRFB is used also for mirroring, and so you need VRFB.
But true, VRFB mirroring is currently disabled, and doesn't seem to
work.
Tomi
>
> Regards,
> Subbu
> ________________________________________
> From: Tomi Valkeinen [tomi.valkeinen@nokia.com]
> Sent: Friday, May 29, 2009 1:51 AM
> To: Venkatesh, Subbu
> Cc: linux-omap@vger.kernel.org; Shah, Hardik; Castaneda Gonzalez, Axel; Mande, Nikhil
> Subject: Re: DSS2: SYNC Lost error on mirroring enabled
>
> On Fri, 2009-05-29 at 03:32 +0200, ext Venkatesh, Subbu wrote:
> > 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.
>
> You need to use VRFB rotation, DMA rotation is only meant for SRAM
> framebuffers.
>
> Tomi
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: DSS2: SYNC Lost error on mirroring enabled
2009-05-29 12:20 ` Tomi Valkeinen
@ 2009-06-01 17:53 ` Venkatesh, Subbu
0 siblings, 0 replies; 5+ messages in thread
From: Venkatesh, Subbu @ 2009-06-01 17:53 UTC (permalink / raw)
To: tomi.valkeinen@nokia.com
Cc: linux-omap@vger.kernel.org, Shah, Hardik,
Castaneda Gonzalez, Axel, Mande, Nikhil
Hi Tomi,
I managed to fix the Mirroring UNDERFLOW error on LDP board. It was pixel clock issue.
I also emailed you patch supporting LDP DSS2, could you comment on it.
Regards,
Subbu
________________________________________
From: Tomi Valkeinen [tomi.valkeinen@nokia.com]
Sent: Friday, May 29, 2009 7:20 AM
To: Venkatesh, Subbu
Cc: linux-omap@vger.kernel.org; Shah, Hardik; Castaneda Gonzalez, Axel; Mande, Nikhil
Subject: RE: DSS2: SYNC Lost error on mirroring enabled
Hi,
On Fri, 2009-05-29 at 14:06 +0200, ext Venkatesh, Subbu wrote:
> Hello Tomi,
> I have no problem with the Roatation using VRFB.
> Curretnly the issue is with the Mirroring. Using VRFB for mirroring has no effect as I see in the omapfb-main.c, if Rotation type is VRFB, then mirror=0. So I cannot use mirroring at all.
I meant that VRFB is used also for mirroring, and so you need VRFB.
But true, VRFB mirroring is currently disabled, and doesn't seem to
work.
Tomi
>
> Regards,
> Subbu
> ________________________________________
> From: Tomi Valkeinen [tomi.valkeinen@nokia.com]
> Sent: Friday, May 29, 2009 1:51 AM
> To: Venkatesh, Subbu
> Cc: linux-omap@vger.kernel.org; Shah, Hardik; Castaneda Gonzalez, Axel; Mande, Nikhil
> Subject: Re: DSS2: SYNC Lost error on mirroring enabled
>
> On Fri, 2009-05-29 at 03:32 +0200, ext Venkatesh, Subbu wrote:
> > 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.
>
> You need to use VRFB rotation, DMA rotation is only meant for SRAM
> framebuffers.
>
> Tomi
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-06-01 17:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-29 1:32 DSS2: SYNC Lost error on mirroring enabled Venkatesh, Subbu
2009-05-29 6:51 ` Tomi Valkeinen
2009-05-29 12:06 ` Venkatesh, Subbu
2009-05-29 12:20 ` Tomi Valkeinen
2009-06-01 17:53 ` Venkatesh, Subbu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox