Re: cx88 invalid video opcodes when VBI enabled

2018-04-21 Thread Devin Heitmueller
Hi Daniel, My apologies for the delayed replies; been out of town for the last couple of days. On Fri, Apr 20, 2018 at 5:54 PM, Daniel Glöckner wrote: > for some reason I feel like buffer_queue in cx88-vbi.c should not be > calling cx8800_start_vbi_dma as it is also called a

Re: cx88 invalid video opcodes when VBI enabled

2018-04-20 Thread Daniel Glöckner
Hi, On Wed, Apr 18, 2018 at 08:29:59PM +0200, Daniel Glöckner wrote: > The VBI instruction queue read pointer points outside the VBI instruction > queue and into the video y/packed CMDS (to 0x18+0x11*4). The values > next to the iq rd ptr look ok. > > We only initialize the iq rd ptr to zero

Re: cx88 invalid video opcodes when VBI enabled

2018-04-18 Thread Daniel Glöckner
Hi, On Tue, Apr 17, 2018 at 09:49:22PM -0400, Devin Heitmueller wrote: > [ 68.750809] cx88[0]: video y / packed - dma channel status dump > [ 68.750811] cx88[0]: cmds: initial risc: 0x8aa98000 > [ 68.750813] cx88[0]: cmds: cdt base: 0x00180440 > [ 68.750815] cx88[0]: cmds: cdt

Re: cx88 invalid video opcodes when VBI enabled

2018-04-17 Thread Devin Heitmueller
Hello Daniel, See below. Devin [ 68.750805] cx88[0]: irq vid [0x18080] vbi_risc2* vbi_sync opc_err* [ 68.750805] cx88[0]/0: video risc op code error [ 68.750809] cx88[0]: video y / packed - dma channel status dump [ 68.750811] cx88[0]: cmds: initial risc: 0x8aa98000 [ 68.750813]

Re: cx88 invalid video opcodes when VBI enabled

2018-04-17 Thread Devin Heitmueller
Hi Daniel, Thanks for the feedback. On Tue, Apr 17, 2018 at 12:53 AM, Daniel Glöckner wrote: >> [ 54.427224] cx88[0]: irq vid [0x10088] vbi_risc1* vbi_risc2* opc_err* >> [ 54.427232] cx88[0]/0: video risc op code error >> [ 54.427238] cx88[0]: video y / packed - dma

Re: cx88 invalid video opcodes when VBI enabled

2018-04-16 Thread Daniel Glöckner
Hi, On Sun, Apr 15, 2018 at 01:37:50PM -0400, Devin Heitmueller wrote: > Any suggestions on the best way to debug this without having to learn > the intimate details of the RISC engine on the cx88? From the state > of the RISC engine it looks like there is some issue with queuing the >