From: Lucas Stach <l.stach@pengutronix.de>
To: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Cc: Anuradha Ranasinghe <anuradha@tengriaero.com>,
linux-media <linux-media@vger.kernel.org>,
Lakshitha Dayasena <lakshitha@tengriaero.com>,
Krishan Nilanga <krishan@tengriaero.com>,
linux-pci@vger.kernel.org, Richard.Zhu@freescale.com
Subject: Re: TW686x Linux Main Line Driver Issue
Date: Mon, 24 Apr 2017 12:38:54 +0200 [thread overview]
Message-ID: <1493030334.2891.7.camel@pengutronix.de> (raw)
In-Reply-To: <CAAEAJfC0MdO2Uy8P0OajRHEc3seUiwLv0qqxLzM3b9eFFfuk8g@mail.gmail.com>
Am Donnerstag, den 20.04.2017, 11:12 -0300 schrieb Ezequiel Garcia:
> On 20 April 2017 at 07:10, Anuradha Ranasinghe <anuradha@tengriaero.com> wrote:
> > Dear All,
> >
> > This issue is associated to the Linux Mainline Kernel 4.1.15.2 (branch2)
> > tw686x upstream driver and IMX6Q platform.
> >
> > We have an analog camera capture board (a custom one) based around tw6865.
> > We are interfacing it with Nitrogen6_Max board (IMX6Q) . We use the
> > aforementioned kernel with the boundary devices latest patches to the tw686x
> > driver (having 3 DMA buffers) and system running on Ubuntu 16 Xenial Mate
> > version.
> > https://github.com/boundarydevices/linux-imx6/commits/7fcd22da6d731b36e5ab856551c41301fca9881f
> >
> > The driver initialization, device and composite signal detection work well
> > as intended. But when the streaming started, frame rate becomes lower and
> > after few frames, the whole system freezes. To get the camera to work to
> > this level, we had to do :
> >
>
> What dma-mode are you using? Have you tried other dma-modes?
>
> How many frames do you manage to obtain? I believe you should
> debug this further and provide more information.
>
> > 1. Disable PCI interrupts from the kernel (from menuconfig and pci=nomsi
> > kernel command)
>
> (CCing PCI people) Lucas, Richard: any idea about why is this parameter needed?
Does the device support MSI IRQs?
If it only supports legacy IRQs this might be a known issue, where
legacy IRQs won't work with the designware host controller if MSI IRQs
are configured. I'm working on a patch to get around this issue.
Regards,
Lucas
next prev parent reply other threads:[~2017-04-24 10:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAOxqCCT6MOCLG+HHsuOU0zoq1zxRRJNFn0DYz9tOj-ez7+BNRA@mail.gmail.com>
2017-04-20 14:12 ` TW686x Linux Main Line Driver Issue Ezequiel Garcia
2017-04-24 10:38 ` Lucas Stach [this message]
[not found] ` <CAKXQXwLuG1A37NTPrE0abPWhMDGd=10Ud+xNa-4+k+8qMhD8tA@mail.gmail.com>
[not found] ` <CAKXQXwKeA6YCaepmjJJBf+Nc3bOO9aEnGmnHfnb2aDX3f6YXzw@mail.gmail.com>
2017-04-25 14:15 ` Ezequiel Garcia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1493030334.2891.7.camel@pengutronix.de \
--to=l.stach@pengutronix.de \
--cc=Richard.Zhu@freescale.com \
--cc=anuradha@tengriaero.com \
--cc=ezequiel@vanguardiasur.com.ar \
--cc=krishan@tengriaero.com \
--cc=lakshitha@tengriaero.com \
--cc=linux-media@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).