From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Tomasz Stanislawski <t.stanislaws@samsung.com>
Cc: linaro-mm-sig@lists.linaro.org, linux-media@vger.kernel.org,
sumit.semwal@ti.com, jesse.barker@linaro.org, rob@ti.com,
daniel@ffwll.ch, m.szyprowski@samsung.com,
kyungmin.park@samsung.com, hverkuil@xs4all.nl,
laurent.pinchart@ideasonboard.com, pawel@osciak.com
Subject: Re: [PATCH 00/10] Integration of videobuf2 with dmabuf
Date: Mon, 23 Jan 2012 12:37:13 -0200 [thread overview]
Message-ID: <4F1D7099.4080009@redhat.com> (raw)
In-Reply-To: <1327326675-8431-1-git-send-email-t.stanislaws@samsung.com>
Hi Tomasz/Sumit,
Em 23-01-2012 11:51, Tomasz Stanislawski escreveu:
> Hello everyone,
> This patchset is an incremental patch to patchset created by Sumit
> Semwal [1]. The patches are dedicated to help find a better solution for
> support of buffer sharing by V4L2 API. It is expected to start discussion on
> final installment for dma-buf in vb2-dma-contig allocator. Current version of
> the patches contain little documentation. It is going to be fixed after
> achieving consensus about design for buffer exporting. Moreover the API
> between vb2-core and the allocator should be revised.
I just raised a few points for the discussions for a few patches. Please don't
understand them as a full review. It isn't.
Btw, it would be nice to have vivi support for the dmabuf sharing, in order to
allow the patches to be tested by a wider audience, especially due to the new
userspace API proposal.
Regards,
Mauro
>
> The amount of changes to vb2-dma-contig.c was significant making the difference
> patch very difficult to read. Therefore the patch was split into two parts.
> One removes old file, the next patch creates the version of the file.
>
> The patchset contains extension for DMA API and its implementation for ARM
> architecture. Therefore the patchset should be applied on the top of:
>
> http://git.infradead.org/users/kmpark/linux-2.6-samsung/shortlog/refs/heads/3.2-dma-v5
>
> After applying patches from [2] and [1].
>
> v1: List of changes since [1].
> - support for DMA api extension dma_get_pages, the function is used to retrieve pages
> used to create DMA mapping.
> - small fixes/code cleanup to videobuf2
> - added prepare and finish callbacks to vb2 allocators, it is used keep consistency between dma-cpu acess to the memory (by Marek Szyprowski)
> - support for exporting of DMABUF buffer in V4L2 and Videobuf2, originated from [3].
> - support for dma-buf exporting in vb2-dma-contig allocator
> - support for DMABUF for s5p-tv and s5p-fimc (capture interface) drivers, originated from [3]
> - changed handling for userptr buffers (by Marek Szyprowski, Andrzej Pietrasiewicz)
> - let mmap method to use dma_mmap_writecombine call (by Marek Szyprowski)
>
> [1] http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/42966/focus=42968
> [2] https://lkml.org/lkml/2011/12/26/29
> [3] http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/36354/focus=36355
>
>
> Marek Szyprowski (2):
> [media] media: vb2: remove plane argument from call_memop and cleanup
> mempriv usage
> media: vb2: add prepare/finish callbacks to allocators
>
> Tomasz Stanislawski (8):
> arm: dma: support for dma_get_pages
> v4l: vb2: fixes for DMABUF support
> v4l: add buffer exporting via dmabuf
> v4l: vb2: add buffer exporting via dmabuf
> v4l: vb2: remove dma-contig allocator
> v4l: vb2-dma-contig: code refactoring, support for DMABUF exporting
> v4l: fimc: integrate capture i-face with dmabuf
> v4l: s5p-tv: mixer: integrate with dmabuf
>
> arch/arm/include/asm/dma-mapping.h | 8 +
> arch/arm/mm/dma-mapping.c | 44 ++
> drivers/media/video/s5p-fimc/fimc-capture.c | 11 +-
> drivers/media/video/s5p-tv/mixer_video.c | 11 +-
> drivers/media/video/v4l2-compat-ioctl32.c | 1 +
> drivers/media/video/v4l2-ioctl.c | 11 +
> drivers/media/video/videobuf2-core.c | 114 ++++-
> drivers/media/video/videobuf2-dma-contig.c | 754 +++++++++++++++++++++------
> include/linux/dma-mapping.h | 2 +
> include/linux/videodev2.h | 1 +
> include/media/v4l2-ioctl.h | 1 +
> include/media/videobuf2-core.h | 10 +-
> 12 files changed, 789 insertions(+), 179 deletions(-)
>
prev parent reply other threads:[~2012-01-23 14:37 UTC|newest]
Thread overview: 46+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-23 13:51 [PATCH 00/10] Integration of videobuf2 with dmabuf Tomasz Stanislawski
2012-01-23 13:51 ` [PATCH 01/10] arm: dma: support for dma_get_pages Tomasz Stanislawski
2012-01-23 13:51 ` [PATCH 02/10] [media] media: vb2: remove plane argument from call_memop and cleanup mempriv usage Tomasz Stanislawski
2012-01-23 13:51 ` [PATCH 03/10] media: vb2: add prepare/finish callbacks to allocators Tomasz Stanislawski
2012-02-03 15:42 ` Pawel Osciak
2012-01-23 13:51 ` [PATCH 04/10] v4l: vb2: fixes for DMABUF support Tomasz Stanislawski
2012-01-23 14:22 ` Mauro Carvalho Chehab
2012-01-23 14:32 ` Tomasz Stanislawski
2012-01-23 14:52 ` Mauro Carvalho Chehab
2012-01-23 15:25 ` Tomasz Stanislawski
2012-01-23 16:06 ` Mauro Carvalho Chehab
2012-01-23 16:37 ` Tomasz Stanislawski
2012-01-23 16:51 ` Mauro Carvalho Chehab
2012-01-25 5:35 ` Semwal, Sumit
2012-01-25 10:34 ` Tomasz Stanislawski
2012-01-25 14:09 ` Semwal, Sumit
2012-01-23 13:51 ` [PATCH 05/10] v4l: add buffer exporting via dmabuf Tomasz Stanislawski
2012-01-23 14:32 ` Mauro Carvalho Chehab
2012-01-23 14:37 ` Laurent Pinchart
2012-01-23 14:42 ` Tomasz Stanislawski
2012-01-23 15:04 ` Mauro Carvalho Chehab
2012-01-23 15:56 ` Tomasz Stanislawski
2012-01-23 16:42 ` Mauro Carvalho Chehab
2012-01-23 16:57 ` V4L2 Overlay mode replacement by dma-buf - was: " Mauro Carvalho Chehab
2012-01-24 0:11 ` Clark, Rob
2012-01-24 9:44 ` Laurent Pinchart
2012-01-24 11:07 ` [Linaro-mm-sig] " Subash Patel
2012-01-24 12:06 ` Tomasz Stanislawski
2012-01-27 13:40 ` Subash Patel
2012-01-30 14:16 ` Laurent Pinchart
2012-01-26 9:48 ` Tomasz Stanislawski
2012-02-03 15:47 ` Pawel Osciak
2012-02-03 15:50 ` Pawel Osciak
2012-01-23 13:51 ` [PATCH 06/10] v4l: vb2: " Tomasz Stanislawski
2012-01-23 13:51 ` [PATCH 07/10] v4l: vb2: remove dma-contig allocator Tomasz Stanislawski
2012-01-23 14:24 ` Mauro Carvalho Chehab
2012-01-23 13:51 ` [PATCH 08/10] v4l: vb2-dma-contig: code refactoring, support for DMABUF exporting Tomasz Stanislawski
2012-01-23 14:26 ` Mauro Carvalho Chehab
2012-01-23 14:35 ` Tomasz Stanislawski
2012-01-23 14:43 ` Mauro Carvalho Chehab
2012-01-23 14:35 ` [PATCH] media: vb2-memops: Export vb2_get_vma symbol Laurent Pinchart
2012-01-23 14:44 ` Tomasz Stanislawski
2012-03-21 11:12 ` Laurent Pinchart
2012-01-23 13:51 ` [PATCH 09/10] v4l: fimc: integrate capture i-face with dmabuf Tomasz Stanislawski
2012-01-23 13:51 ` [PATCH 10/10] v4l: s5p-tv: mixer: integrate " Tomasz Stanislawski
2012-01-23 14:37 ` Mauro Carvalho Chehab [this message]
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=4F1D7099.4080009@redhat.com \
--to=mchehab@redhat.com \
--cc=daniel@ffwll.ch \
--cc=hverkuil@xs4all.nl \
--cc=jesse.barker@linaro.org \
--cc=kyungmin.park@samsung.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linaro-mm-sig@lists.linaro.org \
--cc=linux-media@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=pawel@osciak.com \
--cc=rob@ti.com \
--cc=sumit.semwal@ti.com \
--cc=t.stanislaws@samsung.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;
as well as URLs for NNTP newsgroup(s).