From: "Shuzhen Wang" <shuzhenw@codeaurora.org>
To: "'Hans Verkuil'" <hverkuil@xs4all.nl>
Cc: <linux-media@vger.kernel.org>, <hzhong@codeaurora.org>,
<yyan@codeaurora.org>
Subject: RE: RFC: V4L2 driver for Qualcomm MSM camera.
Date: Sun, 26 Dec 2010 22:45:01 -0800 [thread overview]
Message-ID: <000f01cba591$95fda4a0$c1f8ede0$@org> (raw)
In-Reply-To: <201012241219.31754.hverkuil@xs4all.nl>
Hello, Hans,
Thank you very much for the comments!
I don't have answers to all of your comments, but will reply as much as I
can.
Since a lot of folks are on break here, we will have feedbacks for the other
ones
after the holiday.
> -----Original Message-----
> From: linux-media-owner@vger.kernel.org [mailto:linux-media-
> owner@vger.kernel.org] On Behalf Of Hans Verkuil
>
> Does config control the sensor or the main msm subsystem? Or both?
>
It controls both.
> Just to repeat what I have discussed with Qualcomm before (so that
> everyone knows):
> I have no problem with proprietary code as long as:
>
> 1) the hardware and driver APIs are clearly documented allowing someone
> else to
> make their own algorithms.
>
Yes, we will have the APIs clearly documented for the hardware and driver.
> 2) the initial state of the hardware as set up by the driver is good
> enough to
> capture video in normal lighting conditions. In other words: the daemon
> should not
> be needed for testing the driver. I compare this with cheap webcams
> that often
> need software white balancing to get a decent picture. They still work
> without
> that, but the picture simply doesn't look very good.
>
I agree that it's a very good idea to be able to run the driver without
daemon.
Our challenge is that we have all the hardware pipeline configuration in the
daemon. The driver doesn't know how to configure the pipeline as a whole
based on
user specification, it only cares about the configuration of each individual
component.
> We also discussed the daemon in the past. The idea was that it should
> be called
> from libv4l2. Is this still the plan?
>
[to be commented on later]
> Take a look at the new core-assisted locking scheme implemented for
> 2.6.37.
> This might simplify your driver. Just FYI.
>
We will take a look at this.
> Laurent Pinchart has a patch series adding support for device nodes for
> sub-devices. The only reason that series isn't merged yet is that there
> are
> no merged drivers that need it. You should use those patches to
> implement
> these ioctls in sub-devices. I guess you probably want to create a
> subdev
> for the VFE hardware. The SENSOR_INFO ioctl seems like something that
> can
> be implemented using the upcoming media controller framework.
>
> My guess is that these ioctls will need some work.
>
>
> It's more likely that the private ioctls will go through subdev device
> nodes.
>
> That's really what they were designed for.
>
Agreed. We will make the sensor and VFE hardware related calls go through
subdebv device nodes.
Thanks,
Shuzhen
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
next prev parent reply other threads:[~2010-12-27 6:45 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-23 19:38 RFC: V4L2 driver for Qualcomm MSM camera Shuzhen Wang
2010-12-24 11:19 ` Hans Verkuil
2010-12-27 6:45 ` Shuzhen Wang [this message]
2010-12-27 12:11 ` Mauro Carvalho Chehab
2010-12-28 18:35 ` Shuzhen Wang
2010-12-28 20:23 ` Laurent Pinchart
2011-01-04 2:37 ` Shuzhen Wang
2011-01-04 6:14 ` Haibo Zhong
2011-01-04 8:46 ` Laurent Pinchart
2011-01-04 10:40 ` Hans Verkuil
2011-01-04 14:29 ` Mauro Carvalho Chehab
2011-01-04 18:08 ` Markus Rechberger
2011-01-04 19:37 ` Yan, Yupeng
2011-01-05 0:15 ` Laurent Pinchart
2011-01-07 0:03 ` Yupeng Yan
2011-01-07 14:37 ` Laurent Pinchart
2011-01-04 8:35 ` Laurent Pinchart
2011-01-04 11:30 ` Sakari Ailus
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='000f01cba591$95fda4a0$c1f8ede0$@org' \
--to=shuzhenw@codeaurora.org \
--cc=hverkuil@xs4all.nl \
--cc=hzhong@codeaurora.org \
--cc=linux-media@vger.kernel.org \
--cc=yyan@codeaurora.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