public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Ezequiel Garcia <ezequiel@collabora.com>
To: linux-media@vger.kernel.org
Cc: Hans Verkuil <hans.verkuil@cisco.com>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	kernel@collabora.com,
	Nicolas Dufresne <nicolas.dufresne@collabora.com>,
	emil.velikov@collabora.com,
	Ezequiel Garcia <ezequiel@collabora.com>
Subject: [PATCH 0/2] Memory-to-memory media controller topology
Date: Wed, 20 Jun 2018 16:44:04 -0300	[thread overview]
Message-ID: <20180620194406.21753-1-ezequiel@collabora.com> (raw)

As discussed on IRC, memory-to-memory need to be modeled
properly in order to be supported by the media controller
framework, and thus to support the Request API.

The topology looks like this:

Device topology
- entity 1: source (1 pad, 1 link)
            type Node subtype V4L flags 0
	pad0: Source
		<- "proc":0 [ENABLED,IMMUTABLE]

- entity 3: proc (2 pads, 2 links)
            type Node subtype Unknown flags 0
	pad0: Source
		-> "source":0 [ENABLED,IMMUTABLE]
	pad1: Sink
		<- "sink":0 [ENABLED,IMMUTABLE]

- entity 6: sink (1 pad, 1 link)
            type Node subtype V4L flags 0
	pad0: Sink
		-> "proc":1 [ENABLED,IMMUTABLE]

The first commit introduces a register/unregister API,
that creates/destroys all the entities and pads needed,
and links them.

The second commit uses this API to support the vim2m driver.

Ezequiel Garcia (1):
  media: add helpers for memory-to-memory media controller

Hans Verkuil (1):
  vim2m: add media device

 drivers/media/platform/vim2m.c         |  41 +++++-
 drivers/media/v4l2-core/v4l2-dev.c     |  13 +-
 drivers/media/v4l2-core/v4l2-mem2mem.c | 176 +++++++++++++++++++++++++
 include/media/v4l2-mem2mem.h           |   5 +
 include/uapi/linux/media.h             |   3 +
 5 files changed, 229 insertions(+), 9 deletions(-)

-- 
2.17.1

             reply	other threads:[~2018-06-20 19:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-20 19:44 Ezequiel Garcia [this message]
2018-06-20 19:44 ` [PATCH 1/2] media: add helpers for memory-to-memory media controller Ezequiel Garcia
2018-06-20 21:23   ` kbuild test robot
2018-06-20 19:44 ` [PATCH 2/2] vim2m: add media device Ezequiel Garcia
2018-06-21 12:07 ` [PATCH 0/2] Memory-to-memory media controller topology Hans Verkuil
2018-06-21 20:04   ` Ezequiel Garcia

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=20180620194406.21753-1-ezequiel@collabora.com \
    --to=ezequiel@collabora.com \
    --cc=emil.velikov@collabora.com \
    --cc=hans.verkuil@cisco.com \
    --cc=kernel@collabora.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=nicolas.dufresne@collabora.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