From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: Jonathan Corbet <corbet@lwn.net>
Cc: Kassey Lee <kassey1216@gmail.com>,
linux-media@vger.kernel.org, g.liakhovetski@gmx.de,
Kassey Lee <ygli@marvell.com>, Daniel Drake <dsd@laptop.org>,
ytang5@marvell.com, leiwen@marvell.com, qingx@marvell.com
Subject: Re: [PATCH 2/8] marvell-cam: Separate out the Marvell camera core
Date: Thu, 16 Jun 2011 21:45:00 -0300 [thread overview]
Message-ID: <4DFAA38C.60105@infradead.org> (raw)
In-Reply-To: <20110616092726.024701c9@bike.lwn.net>
Em 16-06-2011 12:27, Jonathan Corbet escreveu:
> On Thu, 16 Jun 2011 11:12:03 +0800
> Kassey Lee <kassey1216@gmail.com> wrote:
>
>> 2) for mcam_ctlr_stop_dma implementation, I guess you know
>> something about the silicon limitation, but we found it can not pass
>> our stress test(1000 times capture test, which will switch format
>> between JPEG and YUV again and again).
>> our solution is :
>> stop the ccic controller and wait for about one frame transfer
>> time, and the stop the sensor.
>> this passed our stress test. for your info.
>
> Actually, I know very little that's not in the datasheet. Are you telling
> me that there are hardware limitations that aren't documented, and that
> the datasheet is not a 100% accurate description of what's going on? I'm
> *shocked* I tell you!
>
> (For the record, with both Cafe and Armada 610, I've found the hardware to
> be more reasonable and in accord with the documentation than with many
> others.)
>
> In any case, I don't know about the limitation you're talking about here,
> could you elaborate a bit? For stress testing I've run video capture for
> weeks at a time, so obviously you're talking about something else. Sounds
> like something I need to know?
>
>> 3) for videoubuf2, will you use videoubuf2 only or combined
>> with soc-camera ? when can your driver for videoubuf2 ready ?
>
> Videobuf2 only. To be honest, I've never quite understood what soc-camera
> buys. If there's a reason to do a switch, it could be contemplated - but
> remember that Cafe is not an SoC device.
>
> The vb2 driver is working now in vmalloc mode, which is probably what Cafe
> will need forever. I do plan to add dma-contig, and, probably, dma-sg
> support in the very near future. If you want, I can post the vmalloc
> version later today; I just want to make one more pass over it first.
>
>> 4) the point is: ccic and sensor driver should be independent,
>> and support two CCIC controller.
>
> No disagreement there. I believe that two controllers should work now -
> though there's probably a gotcha somewhere since it's not actually been
> tried.
Well, I'll be applying the patch series, as the above seems to be
points for future improvements, and don't seem to prevent the
addition of this patch series.
Thanks,
Mauro
next prev parent reply other threads:[~2011-06-17 0:45 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-11 17:46 Refactor cafe_ccic and add Armada 610 driver [V2] Jonathan Corbet
2011-06-11 17:46 ` [PATCH 1/8] marvell-cam: Move cafe-ccic into its own directory Jonathan Corbet
[not found] ` <BANLkTikXATbgOZQbzaj4sQEmELsdpNobfQ@mail.gmail.com>
2011-06-14 14:23 ` Jonathan Corbet
2011-06-15 2:01 ` Kassey Lee
2011-06-15 11:37 ` Mauro Carvalho Chehab
2011-06-11 17:46 ` [PATCH 2/8] marvell-cam: Separate out the Marvell camera core Jonathan Corbet
2011-06-14 2:58 ` Kassey Lee
2011-06-14 14:49 ` Jonathan Corbet
2011-06-16 2:30 ` Kassey Lee
2011-06-16 3:12 ` Kassey Lee
2011-06-16 15:27 ` Jonathan Corbet
2011-06-17 0:45 ` Mauro Carvalho Chehab [this message]
2011-06-17 3:11 ` Kassey Lee
2011-06-22 22:12 ` Jonathan Corbet
2011-06-27 9:23 ` Kassey Lee
2011-06-17 0:40 ` Mauro Carvalho Chehab
2011-06-17 2:51 ` Kassey Lee
2011-06-11 17:46 ` [PATCH 3/8] marvell-cam: Pass sensor parameters from the platform Jonathan Corbet
2011-06-11 17:46 ` [PATCH 4/8] marvell-cam: Remove the "untested" comment Jonathan Corbet
2011-06-11 17:46 ` [PATCH 5/8] marvell-cam: Move Cafe-specific register definitions to cafe-driver.c Jonathan Corbet
2011-06-11 17:46 ` [PATCH 6/8] marvell-cam: Right-shift i2c slave ID's in the cafe driver Jonathan Corbet
2011-06-17 0:51 ` Mauro Carvalho Chehab
2011-06-11 17:46 ` [PATCH 7/8] marvell-cam: Allocate the i2c adapter in the platform driver Jonathan Corbet
2011-06-11 17:46 ` [PATCH 8/8] marvell-cam: Basic working MMP camera driver Jonathan Corbet
2011-06-16 2:37 ` Kassey Lee
2011-06-16 15:17 ` Jonathan Corbet
2011-06-16 19:44 ` Sylwester Nawrocki
2011-06-17 1:15 ` Mauro Carvalho Chehab
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=4DFAA38C.60105@infradead.org \
--to=mchehab@infradead.org \
--cc=corbet@lwn.net \
--cc=dsd@laptop.org \
--cc=g.liakhovetski@gmx.de \
--cc=kassey1216@gmail.com \
--cc=leiwen@marvell.com \
--cc=linux-media@vger.kernel.org \
--cc=qingx@marvell.com \
--cc=ygli@marvell.com \
--cc=ytang5@marvell.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox