From: Tomasz Stanislawski <t.stanislaws@samsung.com>
To: "Semwal, Sumit" <sumit.semwal@ti.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH 04/10] v4l: vb2: fixes for DMABUF support
Date: Wed, 25 Jan 2012 11:34:19 +0100 [thread overview]
Message-ID: <4F1FDAAB.2040804@samsung.com> (raw)
In-Reply-To: <CAB2ybb8fXUARSriD2x-4TNLVtxpg5hA6NKjrAOOwzHJ0Cko6Ag@mail.gmail.com>
Hi Sumit,
On 01/25/2012 06:35 AM, Semwal, Sumit wrote:
> Hi Tomasz,
> On Mon, Jan 23, 2012 at 8:55 PM, Tomasz Stanislawski
> <t.stanislaws@samsung.com> wrote:
>> Hi Mauro,
>>
>>
> <snip>
>>
>> Ok. I should have given more details about the patch. I am sorry for missing
>> it. My kernel tree failed to compile after applying patches from
>>
>> [1]
>> http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/42966/focus=42968
>>
>> I had to generate this patch to compile the code and test it. Most of the
>> fixes refer to Sumit's code and I think he will take care of those bugs.
> Is your kernel tree a mainline kernel? I am pretty sure I posted out
> the RFC after compile testing.
Our development kernel often contains patches that are not posted to
opensource. The tree presented in the cover letter contains only patches
that were approved for opensource submission.
Some of the patches that are not merged into the mainline may break
compilation if patches from the mailing list are applied on the top. The
example is 'media: vb2: remove plane argument from call_memop and
cleanup mempriv usage'. I had to add fixes to compile the code. Moreover
I had to test a working application that makes use of DMABUF
exporting/importing via V4L2 API. So I had to fix other issues that are
not only compilation related.
As I remember we agreed that I had to post an incremental patchset.
Therefore all needed fixes had to be present in the tree.
The fixes were posted in this patchset to keep the whole work together.
I expect that you already prepared a patch fixing majority of issues
from this patch. Many of them were mentioned in Pawel's and Laurent's
and Sakari's reviews. If you find fixes in this patch useful you can
merge them into next version of RFC 'v4l: DMA buffer sharing support as
a user'.
>
>>
> <snip>
>>
>>
>> I wanted to post the complete set of patches that produce compilable kernel.
>> Therefore most important bugs/issues had to be fixed and attached to the
>> patchset. Some of the issues in [1] were mentioned by Laurent and Sakari. I
>> hope Sumit will take care of those problems.
> I must've misunderstood when you said 'I would like to take care of
> these patches'. Please let me know if you'd like me to submit next
> version of my RFC separately with fixes for these issues, or would you
> manage that as part of your RFC patch series submission.
This patchset is an RFC. It was my big mistake that I forgot to add this
to the title of the patchset. I am not going to post the patch with
fixes to your part any more. It would be great if you merged it into new
version of 'DMA buffer sharing support as a user'.
IMO, some parts should go as separate threads:
- extension to DMA subsystem, introduction of dma_get_pages. This would
probably go to DMA mailing list.
- redesign of dma-contig allocator (w/o dmabuf exporting/importing)
- buffer importing via dmabuf in V4L2 and vb2-dma-contig
- buffer exporting via dmabuf in V4L2 and vb2-dma-contig
BTW. Could you state your opinion on presented solution for dma-buf
exporting in vb2-core and vb2-dma-contig allocator?
Regards,
Tomasz Stanislawski
>>
>>>
>>> Failing to do that will mean that important fixes for upstream
>>> will be missed.
>>
>>
>> Ok. It will be fixed.
>>
>>>
>>> Regards,
>>> Mauro
>>>
>>
>> Regards,
>> Tomasz Stanislawski
>>
> Best regards,
> ~Sumit.
next prev parent reply other threads:[~2012-01-25 10:34 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 [this message]
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 ` [PATCH 00/10] Integration of videobuf2 " Mauro Carvalho Chehab
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=4F1FDAAB.2040804@samsung.com \
--to=t.stanislaws@samsung.com \
--cc=linux-media@vger.kernel.org \
--cc=sumit.semwal@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;
as well as URLs for NNTP newsgroup(s).