From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-pg0-f49.google.com ([74.125.83.49]:33007 "EHLO mail-pg0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1431518AbdDYOPH (ORCPT ); Tue, 25 Apr 2017 10:15:07 -0400 Received: by mail-pg0-f49.google.com with SMTP id 63so29312835pgh.0 for ; Tue, 25 Apr 2017 07:15:07 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1493030334.2891.7.camel@pengutronix.de> From: Ezequiel Garcia Date: Tue, 25 Apr 2017 11:15:06 -0300 Message-ID: Subject: Re: TW686x Linux Main Line Driver Issue To: Krishan Nilanga Cc: Lucas Stach , Anuradha Ranasinghe , linux-media , Lakshitha Dayasena , linux-pci@vger.kernel.org, Richard.Zhu@freescale.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-media-owner@vger.kernel.org List-ID: Hi Krishan, On 25 April 2017 at 03:46, Krishan Nilanga wrote: > Hi All, > > gst-launch-1.0 --gst-debug=3D3 v4l2src device=3D/dev/video0 ! > video/x-raw,width=3D640,height=3D480,pixelformat=3DUYVY ! imxeglvivsink > > I have tried to run the above gstreamer pipeline and I'm getting > > [ 97.392807] tw686x 0000:01:00.0: DMA timeout. Resetting DMA for all > channels > [ 97.392827] tw686x 0000:01:00.0: reset: stopping DMA > > for most IRQ calls of tw686x driver. > > for some other IRQ calls I'm getting > > [ 99.592901] tw686x 0000:01:00.0: video0: unexpected p-b buffer! > [ 99.592924] tw686x 0000:01:00.0: reset: stopping DMA > > in dmesg. > > I hope above details will help to understand the problem. > This does not provide much info. It merely says there is some hardware problem or the signal is being problematic. FWIW, when we get those messages on our platform it's always correlated to a bad cable or poor signal. What is your dma-mode configuration? --=20 Ezequiel Garc=C3=ADa, VanguardiaSur www.vanguardiasur.com.ar From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f50.google.com ([74.125.83.50]:33007 "EHLO mail-pg0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1431510AbdDYOPH (ORCPT ); Tue, 25 Apr 2017 10:15:07 -0400 Received: by mail-pg0-f50.google.com with SMTP id 63so29312834pgh.0 for ; Tue, 25 Apr 2017 07:15:07 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <1493030334.2891.7.camel@pengutronix.de> From: Ezequiel Garcia Date: Tue, 25 Apr 2017 11:15:06 -0300 Message-ID: Subject: Re: TW686x Linux Main Line Driver Issue To: Krishan Nilanga Cc: Lucas Stach , Anuradha Ranasinghe , linux-media , Lakshitha Dayasena , linux-pci@vger.kernel.org, Richard.Zhu@freescale.com Content-Type: text/plain; charset=UTF-8 Sender: linux-pci-owner@vger.kernel.org List-ID: Hi Krishan, On 25 April 2017 at 03:46, Krishan Nilanga wrote: > Hi All, > > gst-launch-1.0 --gst-debug=3D3 v4l2src device=3D/dev/video0 ! > video/x-raw,width=3D640,height=3D480,pixelformat=3DUYVY ! imxeglvivsink > > I have tried to run the above gstreamer pipeline and I'm getting > > [ 97.392807] tw686x 0000:01:00.0: DMA timeout. Resetting DMA for all > channels > [ 97.392827] tw686x 0000:01:00.0: reset: stopping DMA > > for most IRQ calls of tw686x driver. > > for some other IRQ calls I'm getting > > [ 99.592901] tw686x 0000:01:00.0: video0: unexpected p-b buffer! > [ 99.592924] tw686x 0000:01:00.0: reset: stopping DMA > > in dmesg. > > I hope above details will help to understand the problem. > This does not provide much info. It merely says there is some hardware problem or the signal is being problematic. FWIW, when we get those messages on our platform it's always correlated to a bad cable or poor signal. What is your dma-mode configuration? --=20 Ezequiel Garc=C3=ADa, VanguardiaSur www.vanguardiasur.com.ar