public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Steve Longerbeam <steve_longerbeam@mentor.com>
Cc: Hans Verkuil <hverkuil@xs4all.nl>,
	Steve Longerbeam <slongerbeam@gmail.com>,
	linux-media@vger.kernel.org
Subject: Re: [PATCH 00/28] IPUv3 prep for video capture
Date: Wed, 23 Jul 2014 15:17:18 +0200	[thread overview]
Message-ID: <351532437.crZknhrhTe@avalon> (raw)
In-Reply-To: <53C8359C.1030005@mentor.com>

Hi Steve,

On Thursday 17 July 2014 13:44:12 Steve Longerbeam wrote:
> On 07/17/2014 04:10 AM, Hans Verkuil wrote:
> > Hi Steve,
> > 
> > I don't know what your plan is, but when you want to mainline this it is
> > the gpu subsystem that needs to review it. I noticed it wasn't
> > cross-posted
> > to the dri-devel mailinglist.
> 
> Hi Hans,
> 
> I'm reworking these patches, I've merged in some of the changes
> posted by Philip Zabel ("[RFC PATCH 00/26] i.MX5/6 IPUv3 CSI/IC"),
> specifically I've decided to use their version of ipu-ic.c, and
> also brought in their video-mux subdev driver. So I'm fine with
> cancelling this patch set.
> 
> When/if I post the reworked v4l2 drivers that implement the media
> entity/device framework I will post the ipu-v3 specific changes
> to dri-devel as well.
> 
> The reason I like Philip's version of ipu-ic is that it implements
> tiling to allow resizing output frames larger than 1024x1024. We
> (Mentor Graphics) did the same IC tiling, but it was done inside
> a separate mem2mem driver. By moving the tiling into ipu-ic, it
> allows >1024x1024 resizing to be part of an imx-ipuv3-ic media
> entity, and this entity can be part of multiple video pipelines
> (capture, video output, mem2mem).
> 
> > I am a bit worried about the amount of v4l2-specific stuff that is going
> > into drivers/gpu/ipu-v3. Do things like csc and csi really belong there
> > instead of under drivers/media?
> 
> The current philosophy of the ipu-v3 driver seems to be that it is a
> library of IPU register-level primitives, so ipu-csi and ipu-ic follow
> that model. There will be nothing v4l2-specific in ipu-csi and ipu-ic,
> although the v4l2 subdev's will be the only clients of ipu-csi and
> ipu-ic.

I have a bit of trouble following up, due to my lack of knowledge of the 
Freescale platforms. It would help if you could explain briefly how the 
various IPU modules interact with each other at the hardware and software 
level, and what the acronyms stand for (I assume IPU means Image Processing 
Unit, CSI means Camera Serial Interface, but I don't know what IC is in this 
context).

Are the CSI receivers linked to the graphics IP cores at the hardware level ?

> > Let me know if this was just preliminary code, or if this was intended to
> > be the final code. I suspect the former.
> 
> This is all been reworked so go ahead and cancel it.

-- 
Regards,

Laurent Pinchart


  reply	other threads:[~2014-07-23 13:17 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26  1:05 [PATCH 00/28] IPUv3 prep for video capture Steve Longerbeam
2014-06-26  1:05 ` [PATCH 01/28] ARM: dts: imx6qdl: Add ipu aliases Steve Longerbeam
2014-07-31 15:28   ` Philipp Zabel
2014-08-01 14:04     ` Shawn Guo
2014-06-26  1:05 ` [PATCH 02/28] gpu: ipu-v3: Add ipu_get_num() Steve Longerbeam
2014-07-31 15:28   ` Philipp Zabel
2014-06-26  1:05 ` [PATCH 03/28] gpu: ipu-v3: Add functions to set CSI/IC source muxes Steve Longerbeam
2014-06-26  1:05 ` [PATCH 04/28] gpu: ipu-v3: Rename and add IDMAC channels Steve Longerbeam
2014-06-26  1:05 ` [PATCH 05/28] gpu: ipu-v3: Add units required for video capture Steve Longerbeam
2014-07-31 15:27   ` Philipp Zabel
2014-07-31 15:31     ` Philipp Zabel
2014-07-31 17:41     ` Philipp Zabel
2014-06-26  1:05 ` [PATCH 06/28] gpu: ipu-v3: smfc: Move enable/disable to ipu-smfc.c Steve Longerbeam
2014-06-26  1:05 ` [PATCH 07/28] gpu: ipu-v3: smfc: Convert to per-channel Steve Longerbeam
2014-06-26  1:05 ` [PATCH 08/28] gpu: ipu-v3: smfc: Add ipu_smfc_set_watermark() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 09/28] gpu: ipu-v3: Add ipu_mbus_code_to_colorspace() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 10/28] gpu: ipu-v3: Add rotation mode conversion utilities Steve Longerbeam
2014-06-26  1:05 ` [PATCH 11/28] gpu: ipu-v3: Add helper function checking if pixfmt is planar Steve Longerbeam
2014-06-26  1:05 ` [PATCH 12/28] gpu: ipu-v3: Move IDMAC channel names to imx-ipu-v3.h Steve Longerbeam
2014-06-26  1:05 ` [PATCH 13/28] gpu: ipu-v3: Add ipu_idmac_buffer_is_ready() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 14/28] gpu: ipu-v3: Add ipu_idmac_clear_buffer() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 15/28] gpu: ipu-v3: Add __ipu_idmac_reset_current_buffer() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 16/28] gpu: ipu-v3: Add ipu_stride_to_bytes() Steve Longerbeam
2014-07-31 18:02   ` Philipp Zabel
2014-06-26  1:05 ` [PATCH 17/28] gpu: ipu-v3: Add ipu_idmac_enable_watermark() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 18/28] gpu: ipu-v3: Add ipu_idmac_lock_enable() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 19/28] gpu: ipu-v3: Add idmac channel linking support Steve Longerbeam
2014-06-26  1:05 ` [PATCH 20/28] gpu: ipu-v3: Add ipu-cpmem unit Steve Longerbeam
2014-06-26  1:05 ` [PATCH 21/28] staging: imx-drm: Convert to new ipu_cpmem API Steve Longerbeam
2014-06-26  1:05 ` [PATCH 22/28] gpu: ipu-cpmem: Add ipu_cpmem_set_block_mode() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 23/28] gpu: ipu-cpmem: Add ipu_cpmem_set_axi_id() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 24/28] gpu: ipu-cpmem: Add ipu_cpmem_set_rotation() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 25/28] gpu: ipu-cpmem: Add second buffer support to ipu_cpmem_set_image() Steve Longerbeam
2014-06-26  1:05 ` [PATCH 26/28] gpu: ipu-v3: Add more planar formats support Steve Longerbeam
2014-06-26  1:05 ` [PATCH 27/28] gpu: ipu-cpmem: Add ipu_cpmem_dump() Steve Longerbeam
2014-07-31 18:06   ` Philipp Zabel
2014-06-26  1:05 ` [PATCH 28/28] gpu: ipu-v3: Add ipu_dump() Steve Longerbeam
2014-07-17 11:10 ` [PATCH 00/28] IPUv3 prep for video capture Hans Verkuil
2014-07-17 20:44   ` Steve Longerbeam
2014-07-23 13:17     ` Laurent Pinchart [this message]
2014-07-25 21:21       ` Steve Longerbeam
2014-07-31 15:28 ` Philipp Zabel

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=351532437.crZknhrhTe@avalon \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=slongerbeam@gmail.com \
    --cc=steve_longerbeam@mentor.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