From: Michael Jones <michael.jones@matrix-vision.de>
To: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Cc: Bastian Hecht <hechtb@googlemail.com>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: OMAP3530 ISP irqs disabled
Date: Mon, 08 Nov 2010 11:06:30 +0100 [thread overview]
Message-ID: <4CD7CBA6.4070902@matrix-vision.de> (raw)
In-Reply-To: <4CD630EA.8040409@maxwell.research.nokia.com>
Sakari Ailus wrote:
<snip>
> (FYI: your lines are quite long, well over 80 characters.)
Should be better now, thanks.
<snip>
>
>> Here's my suggestion for a fix, hopefully Laurent or Sakari can comment on it:
>>
>> --- a/drivers/media/video/isp/ispccdc.c
>> +++ b/drivers/media/video/isp/ispccdc.c
>> @@ -1477,7 +1477,7 @@ static void ispccdc_vd1_isr(struct isp_ccdc_device *ccdc)
>> spin_lock_irqsave(&ccdc->lsc.req_lock, flags);
>>
>> /* We are about to stop CCDC and/without LSC */
>> - if ((ccdc->output & CCDC_OUTPUT_MEMORY) ||
>> + if ((ccdc->output & CCDC_OUTPUT_MEMORY) &&
>> (ccdc->state == ISP_PIPELINE_STREAM_SINGLESHOT))
>> ccdc->stopping = CCDC_STOP_REQUEST;
>
> Does this fix the problem? ISP_PIPELINE_STREAM_SINGLESHOT is there for
> memory sources and I do not think this is a correct fix.
I was also able to reproduce Bastian's problem and this fixed it for me.
With the condition as it is, it says on VD1, if the output is memory,
CCDC will be disabled. This is obviously not what I want just because
I'm writing from CCDC to memory. So something needs to be changed in
this condition for Bastian. But I'm not clear on what cases the CCDC
_does_ need to be disabled here, which is why I'm unsure about the fix.
>
> Is your VSYNC on falling or rising edge? This is defined for CCP2 and
> this is what the driver was originally written for. If it's different
> (rising??), you should apply the attached wildly opportunistic patch,
> which I do not expect to fix this problem, however.
>
> But I might be just pointing you to wrong direction, better wait for
> Laurent's answer. :-)
>
> Cheers,
>
--
Michael Jones
MATRIX VISION GmbH, Talstrasse 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschaeftsfuehrer: Gerhard Thullner, Werner Armingeon, Uwe Furtner
prev parent reply other threads:[~2010-11-08 10:06 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-03 9:42 OMAP3530 ISP irqs disabled Bastian Hecht
2010-11-03 12:47 ` Bastian Hecht
2010-11-03 12:58 ` Michael Jones
2010-11-03 13:26 ` Bastian Hecht
2010-11-04 3:30 ` Laurent Pinchart
2010-11-03 13:20 ` Sakari Ailus
2010-11-03 13:38 ` Bastian Hecht
2010-11-04 3:34 ` Laurent Pinchart
2010-11-04 8:34 ` Bastian Hecht
2010-11-04 12:53 ` Bastian Hecht
2010-11-05 10:45 ` Bastian Hecht
2010-11-05 11:09 ` Bastian Hecht
2010-11-05 14:25 ` Michael Jones
2010-11-05 15:18 ` Bastian Hecht
2010-11-07 4:54 ` Sakari Ailus
2010-11-07 9:11 ` Bastian Hecht
2010-11-08 3:15 ` Laurent Pinchart
2010-11-08 12:26 ` Michael Jones
2010-11-09 23:10 ` Laurent Pinchart
2010-11-08 10:06 ` Michael Jones [this message]
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=4CD7CBA6.4070902@matrix-vision.de \
--to=michael.jones@matrix-vision.de \
--cc=hechtb@googlemail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=sakari.ailus@maxwell.research.nokia.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.