public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: David Cohen <dacohen@gmail.com>,
	Bastian Hecht <hechtb@googlemail.com>,
	Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: OMAP3 ISP deadlocks on my new arm
Date: Tue, 19 Apr 2011 10:31:05 +0300	[thread overview]
Message-ID: <4DAD3A39.1030500@maxwell.research.nokia.com> (raw)
In-Reply-To: <201104181623.56866.laurent.pinchart@ideasonboard.com>

Laurent Pinchart wrote:
...
> That's the ideal situation: sensors should not produce any data (or rather any 
> transition on the VS/HS signals) when they're supposed to be stopped. 
> Unfortunately that's not always easy, as some dumb sensors (or sensor-like 
> hardware) can't be stopped. The ISP driver should be able to cope with that in 
> a way that doesn't kill the system completely.
> 
> I've noticed the same issue with a Caspa camera module and an OMAP3503-based 
> Gumstix. I'll try to come up with a good fix.

Hi Laurent, others,

Do you think the cause for this is that the system is jammed in handling
HS_VS interrupts triggered for every HS?

A quick fix for this could be just choosing either VS configuration when
configuring the CCDC. Alternatively, HS_VS interrupts could be just
disabled until omap3isp_configure_interface().

But as the sensor is sending images all the time, proper VS
configuration would be needed, or the counting of lines in the CCDC (VD*
interrupts) is affected as well. The VD0 interrupt, which is used to
trigger an interrupt near the end of the frame, may be triggered one
line too early on the first frame, or too late. But this is up to a
configuration. I don't think it's a real issue to trigger it one line
too early.

Anything else?

Cheers,

-- 
Sakari Ailus
sakari.ailus@maxwell.research.nokia.com

  reply	other threads:[~2011-04-19  7:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 13:03 OMAP3 ISP deadlocks on my new arm Bastian Hecht
2011-04-13 15:05 ` Bastian Hecht
2011-04-13 20:02 ` Sakari Ailus
2011-04-14  8:33   ` Bastian Hecht
2011-04-14  9:11     ` Laurent Pinchart
2011-04-14 10:36       ` Bastian Hecht
2011-04-16 10:09         ` David Cohen
2011-04-18 10:43           ` Bastian Hecht
2011-04-18 14:17             ` David Cohen
2011-04-18 14:23               ` Laurent Pinchart
2011-04-19  7:31                 ` Sakari Ailus [this message]
2011-04-21  9:29                   ` Laurent Pinchart
2011-04-26 15:39                     ` Bastian Hecht
2011-04-26 19:22                       ` Laurent Pinchart
2011-04-27 10:48                         ` Bastian Hecht
2011-04-27 10:55                           ` Bastian Hecht
2011-04-27 11:09                             ` Laurent Pinchart
2011-04-28 11:04                               ` Bastian Hecht
2011-04-28 11:16                                 ` Laurent Pinchart

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=4DAD3A39.1030500@maxwell.research.nokia.com \
    --to=sakari.ailus@maxwell.research.nokia.com \
    --cc=dacohen@gmail.com \
    --cc=hechtb@googlemail.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@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