From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Tomasz Stanislawski <t.stanislaws@samsung.com>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH 04/10] v4l: vb2: fixes for DMABUF support
Date: Mon, 23 Jan 2012 14:51:38 -0200 [thread overview]
Message-ID: <4F1D901A.6010101@redhat.com> (raw)
In-Reply-To: <4F1D8CCB.8060805@samsung.com>
Em 23-01-2012 14:37, Tomasz Stanislawski escreveu:
> Hi Mauro,
> On 01/23/2012 05:06 PM, Mauro Carvalho Chehab wrote:
>> Em 23-01-2012 13:25, Tomasz Stanislawski escreveu:
>>> Hi Mauro,
>>>
>>> On 01/23/2012 03:52 PM, Mauro Carvalho Chehab wrote:
>>>> Em 23-01-2012 12:32, Tomasz Stanislawski escreveu:
>>>>> Hi Mauro,
>>>>>
>>>>> On 01/23/2012 03:22 PM, Mauro Carvalho Chehab wrote:
>>>>>> Em 23-01-2012 11:51, Tomasz Stanislawski escreveu:
>>>>>>> Signed-off-by: Tomasz Stanislawski<t.stanislaws@samsung.com>
>>>>>>> Signed-off-by: Kyungmin Park<kyungmin.park@samsung.com>
>>>>>>
>>>>>> Please better describe this patch. What is it supposing to fix?
>
> [snip]
>
>>>> It is also a waste of your time to submit a patch that will need to be later
>>>> polished, as you'll need to work with the same thing twice.
>>>
>>> The problem is that those patches were not intended to be accepted. The were intended for discussion.
>>
>> The patch subjects were not marked with RFC. Please prefix the subject with something like
>> git send-email --subject-prefix " PATCH RFC"
>>
>> When submitting such patches.
>
> Right!!!
> Sorry, I forgot about it. Probably, if I had added those 3 letter we would have avoided this whole misunderstanding about the purpose of the patches :)
>
>>
>>> The other problem is that there are many people waiting for those patches. The dma-buf was already
>>> accepted to the mainline. Me and Sumit are trying to help V4L2 to catch-up. The dma-buf and its support
>>> in vb2-core seams to change very dynamically. Polishing the patch takes much time. If the dma-buf API
>>> changes the design of vb2-core may have to be changed. Therefore time spent on polishing would be lost.
>>
>> Ok.
>>
>>> I am sorry for patch flaws. All of them would be fixed when the design is stabilized.
>>
>> No problem.
>>
>>>
>>>>
>>>> So, please fix your patch workflow. As a general rule, you should
>>>> compile every patch you're applying and fix the breakages on them.
>>>>
>>>> Also, if you found bugs that need to be fixed and that aren't
>>>> directly related to your current task, those should generate
>>>> their own patches, and submitted in separate, in order to be
>>>> applied sooner upstream and to stable.
>>>
>>> I wanted to post the complete set of patches that produce compilable kernel.
>>> herefore 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.
>>
>> Ok. My main concern was not with the driver bits, but with:
>>
>> 1) if fixes are needed at the vb2 core, to ensure that they'll go
>> upstream earlier;
>>
>
> First, we should select patches not related to DMABUF.
>
> The fixes related to DMABUF could be postponed because they will be applied in new version for Sumit's patches.
>
> Next videobuf2-dma-contig.c file is patched.
>
> Fixes to handling of mmap and userptr would go first with all DMABUF related features removed. Lack of DMABUF related callbacks will not break backward compatibility.
>
> Next, DMABUF support is added to vb2-core.
>
> Finally, that DMABUF exporting/importing patches would be applied.
Sounds like a plan.
Regards,
Mauro
next prev parent reply other threads:[~2012-01-23 16:51 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 [this message]
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 ` [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=4F1D901A.6010101@redhat.com \
--to=mchehab@redhat.com \
--cc=linux-media@vger.kernel.org \
--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).