public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@infradead.org>
To: "Maupin, Chase" <chase.maupin@ti.com>
Cc: Hans Verkuil <hans.verkuil@tandberg.com>,
	"laurent.pinchart@ideasonboard.com"
	<laurent.pinchart@ideasonboard.com>,
	"sakari.ailus@maxwell.research.nokia.com"
	<sakari.ailus@maxwell.research.nokia.com>,
	"vpss_driver_design@list.ti.com - This list is to discuss the
	VPSS driver design (May contain non-TIers)"
	<vpss_driver_design@list.ti.com>,
	"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>
Subject: Re: Requested feedback on V4L2 driver design
Date: Mon, 08 Feb 2010 18:23:00 -0200	[thread overview]
Message-ID: <4B7072A4.7070708@infradead.org> (raw)
In-Reply-To: <131E5DFBE7373E4C8D813795A6AA7F0802C4E0FF3E@dlee06.ent.ti.com>

Maupin, Chase wrote:
> All,
> 
> Texas Instruments (TI) is working on the design for the V4L2 capture and display drivers for our next generation system-on-chip (SoC) processor and would like to solicit your feedback.  Our new SoCs have been improved to allow for higher video resolutions and greater frame rates.  To this end the display hardware has been moved to a separate processing block called the video processing subsystem (VPSS).  The VPSS will be running a firmware image that controls the capture/display hardware and services requests from one or more host processors.
> 
> Moving to a remote processor for the processing of video input and output data requires that commands to control the hardware be passed to this processing block using some form of inter-processor communication (IPC).  TI would like to solicit your feedback on proposal for the V4L2 driver design to get a feel for whether or not this design would be accepted into the Linux kernel.  To this end we have put together an overview of the design and usage on our wiki at http://wiki.davincidsp.com/index.php/Video_Processing_Subsystem_Driver_Design.  We would greatly appreciate feedback from community members on the acceptability of our driver design.
> 
> If you have additional questions or need more information please feel free to contact us (we have setup a mailing list at vpss_driver_design@list.ti.com) so we can answer them.
> 

Hi Chase,

I'm not sure if I got all the details on your proposal, so let me try to give my
understanding.

First of all, for normal usage (e.g. capturing a stream or sending an stream
to an output device), the driver should work with only the standard V4L2 API.
I'm assuming that the driver will provide this capability.

I understand that, being a SoC hardware, there are much more that can be done
than just doing the normal stream capture/output, already supported by V4L2 API.

For such advanced usages, we're open to a proposal to enhance the existing API
to support the needs. There are some important aspects that need to be considered
when designing any Linux userspace API's:

	1) kernel-userspace API's are forever. So, they need to be designed in
a way that new technology changes won't break the old API;

	2) API's are meant to be generic. So, they needed to be designed in a way
that, if another hardware with similar features require an API, the planned one
should fit;

	3) The API's should be, as much as possible, independent of the hardware
architecture. You'll see that even low-level architecture dependent stuff, like
bus drivers are designed in a way that they are not bound to a particular hardware,
but instead provide the same common methods to interact with the hardware to other
device drivers.

That's said, it would be interesting if you could give us a more deep detail on 
what kind of functionalities and how do you think you'll be implementing them.

-- 

Cheers,
Mauro

  reply	other threads:[~2010-02-08 20:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-08 15:08 Requested feedback on V4L2 driver design Maupin, Chase
2010-02-08 20:23 ` Mauro Carvalho Chehab [this message]
2010-02-09  7:51   ` Hans Verkuil
2010-02-09 14:56     ` Maupin, Chase
2010-02-09 15:11     ` Maupin, Chase
2010-02-24 14:34     ` Maupin, Chase
2010-02-24 14:46       ` Hans Verkuil
2010-02-12  1:22 ` Laurent Pinchart
2010-02-12 16:46   ` Maupin, Chase
2010-02-25  3:04     ` Kamoolkar, Mugdha
2010-02-25 12:41       ` Maupin, Chase
2010-02-26  0:31     ` Laurent Pinchart
2010-02-26 15:35       ` Maupin, Chase
2010-03-01 12:31         ` Kumar, Purushotam
2010-02-16 13:00   ` Maupin, Chase
2010-02-26  0:35     ` Laurent Pinchart
2010-02-26 15:21       ` Maupin, Chase

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=4B7072A4.7070708@infradead.org \
    --to=mchehab@infradead.org \
    --cc=chase.maupin@ti.com \
    --cc=hans.verkuil@tandberg.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=sakari.ailus@maxwell.research.nokia.com \
    --cc=vpss_driver_design@list.ti.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