Re: [RFC 1/2] media: add helpers for memory-to-memory media controller

2018-06-18 Thread Hans Verkuil
On 06/15/2018 06:22 PM, Ezequiel Garcia wrote: > Hi Hans, > > Thanks for the review. > > On Fri, 2018-06-15 at 11:24 +0200, Hans Verkuil wrote: >> On 12/06/18 12:48, Ezequiel Garcia wrote: >>> diff --git a/include/media/media-entity.h b/include/media/media-entity.h >>> index 3aa3d58d1d58..ff6f

Re: [RFC 1/2] media: add helpers for memory-to-memory media controller

2018-06-15 Thread Ezequiel Garcia
Hi Hans, Thanks for the review. On Fri, 2018-06-15 at 11:24 +0200, Hans Verkuil wrote: > On 12/06/18 12:48, Ezequiel Garcia wrote: > > A memory-to-memory pipeline device consists in three > > entities: two DMA engine and one video processing entities. > > The DMA engine entities are linked to a V

Re: [RFC 1/2] media: add helpers for memory-to-memory media controller

2018-06-15 Thread Hans Verkuil
On 12/06/18 12:48, Ezequiel Garcia wrote: > A memory-to-memory pipeline device consists in three > entities: two DMA engine and one video processing entities. > The DMA engine entities are linked to a V4L interface. > > This commit add a new v4l2_m2m_{un}register_media_controller > API to register

[RFC 1/2] media: add helpers for memory-to-memory media controller

2018-06-12 Thread Ezequiel Garcia
A memory-to-memory pipeline device consists in three entities: two DMA engine and one video processing entities. The DMA engine entities are linked to a V4L interface. This commit add a new v4l2_m2m_{un}register_media_controller API to register this topology. For instance, a typical mem2mem devic