Linux Samsung SOC development
 help / color / mirror / Atom feed
From: "Hans Verkuil" <hverkuil@xs4all.nl>
To: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: linux-media@vger.kernel.org, pawel@osciak.com,
	javier.martin@vista-silicon.com, m.szyprowski@samsung.com,
	shaik.ameer@samsung.com, arun.kk@samsung.com,
	k.debski@samsung.com, p.zabel@pengutronix.de,
	kyungmin.park@samsung.com, linux-samsung-soc@vger.kernel.org
Subject: Re: [PATCH RFC v2 00/10] V4L2 mem-to-mem ioctl helpers
Date: Thu, 17 Oct 2013 19:27:33 +0200	[thread overview]
Message-ID: <5b441bfc95ea3d9500c0eb7b68134c51.squirrel@webmail.xs4all.nl> (raw)
In-Reply-To: <52601C1B.6080802@samsung.com>

Hi Sylwester,

> Hi Hans,
>
> Can I still add your Ack to updated patches 2, 3, 4, 10 ?

Yes, that's OK.

Regards,

    Hans

>
> Thanks,
> Sylwester
>
> On 12/10/13 14:31, Sylwester Nawrocki wrote:
>> Hello,
>>
>> This patch set adds ioctl helpers to the v4l2-mem2mem module so the
>> video mem-to-mem drivers can be simplified by removing functions that
>> are only a pass-through to the v4l2_m2m_* calls. In addition some of
>> the vb2 helper functions can be used as well.
>>
>> These helpers are similar to the videobuf2 ioctl helpers introduced
>> in commit 4c1ffcaad5 "[media] videobuf2-core: add helper functions".
>>
>> Currently the requirements to use helper function introduced in this
>> patch set is that both OUTPUT and CAPTURE vb2 buffer queues must use
>> same lock and the driver uses struct v4l2_fh.
>>
>> I have only tested the first four patches in this series, Tested-by
>> for the mx2-emmaprp, exynos-gsc, s5p-g2d drivers are appreciated.
>>
>> This patch series can be also found at:
>>  git://linuxtv.org/snawrocki/samsung.git m2m-helpers-v3
>>
>> Changes since original version include addition of related cleanup
>> patches, added helper function for create_buf ioctl and m2m context
>> pointer from struct v4l2_fh is now reused and related field from the
>> drivers' private data structure is removed.
>>
>> Thank you for all reviews. I plan to queue the first four patches for
>> next kernel release early this week. For the mx2-emmaprp, exynos-gsc,
>> s5p-g2d driver feedback is needed from someone who can actually test
>> the changes. Any Tested-by for those drivers would be appreciated.
>>
>> Thanks,
>> Sylwester
>>
>> Sylwester Nawrocki (10):
>>   V4L: Add mem2mem ioctl and file operation helpers
>>   mem2mem_testdev: Use mem-to-mem ioctl and vb2 helpers
>>   exynos4-is: Use mem-to-mem ioctl helpers
>>   s5p-jpeg: Use mem-to-mem ioctl helpers
>>   mx2-emmaprp: Use struct v4l2_fh
>>   mx2-emmaprp: Use mem-to-mem ioctl helpers
>>   exynos-gsc: Configure default image format at device open()
>>   exynos-gsc: Remove GSC_{SRC, DST}_FMT flags
>>   exynos-gsc: Use mem-to-mem ioctl helpers
>>   s5p-g2d: Use mem-to-mem ioctl helpers
>>
>>  drivers/media/platform/exynos-gsc/gsc-core.c  |   10 +-
>>  drivers/media/platform/exynos-gsc/gsc-core.h  |   14 --
>>  drivers/media/platform/exynos-gsc/gsc-m2m.c   |  232
>> ++++++++-----------------
>>  drivers/media/platform/exynos4-is/fimc-core.h |    2 -
>>  drivers/media/platform/exynos4-is/fimc-m2m.c  |  148 +++-------------
>>  drivers/media/platform/mem2mem_testdev.c      |  152 +++-------------
>>  drivers/media/platform/mx2_emmaprp.c          |  185
>> ++++++--------------
>>  drivers/media/platform/s5p-g2d/g2d.c          |  124 +++-----------
>>  drivers/media/platform/s5p-g2d/g2d.h          |    1 -
>>  drivers/media/platform/s5p-jpeg/jpeg-core.c   |  134 +++------------
>>  drivers/media/platform/s5p-jpeg/jpeg-core.h   |    2 -
>>  drivers/media/v4l2-core/v4l2-mem2mem.c        |  118 +++++++++++++
>>  include/media/v4l2-fh.h                       |    4 +
>>  include/media/v4l2-mem2mem.h                  |   24 +++
>>  14 files changed, 382 insertions(+), 768 deletions(-)
>>
>> --
>> 1.7.4.1
>
> --
> Sylwester Nawrocki
> Samsung R&D Institute Poland
>

      reply	other threads:[~2013-10-17 17:27 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-12 12:31 [PATCH RFC v2 00/10] V4L2 mem-to-mem ioctl helpers Sylwester Nawrocki
2013-10-12 12:31 ` [PATCH RFC v2 01/10] V4L: Add mem2mem ioctl and file operation helpers Sylwester Nawrocki
2013-10-12 12:38   ` [PATCH RFC v2.1 " Sylwester Nawrocki
2013-10-16 11:31     ` Kamil Debski
2013-10-12 12:31 ` [PATCH RFC v2 02/10] mem2mem_testdev: Use mem-to-mem ioctl and vb2 helpers Sylwester Nawrocki
2013-10-16 11:31   ` Kamil Debski
2013-10-12 12:31 ` [PATCH RFC v2 03/10] exynos4-is: Use mem-to-mem ioctl helpers Sylwester Nawrocki
2013-10-16 11:31   ` Kamil Debski
2013-10-12 12:31 ` [PATCH RFC v2 04/10] s5p-jpeg: " Sylwester Nawrocki
2013-10-16 11:31   ` Kamil Debski
2013-10-12 12:31 ` [PATCH RFC v2 05/10] mx2-emmaprp: Use struct v4l2_fh Sylwester Nawrocki
2013-10-12 12:31 ` [PATCH RFC v2 06/10] mx2-emmaprp: Use mem-to-mem ioctl helpers Sylwester Nawrocki
2013-10-12 12:31 ` [PATCH RFC v2 07/10] exynos-gsc: Configure default image format at device open() Sylwester Nawrocki
2013-10-12 12:31 ` [PATCH RFC v2 08/10] exynos-gsc: Remove GSC_{SRC, DST}_FMT flags Sylwester Nawrocki
2013-10-12 12:31 ` [PATCH RFC v2 09/10] exynos-gsc: Use mem-to-mem ioctl helpers Sylwester Nawrocki
2013-10-12 12:32 ` [PATCH RFC v2 10/10] s5p-g2d: " Sylwester Nawrocki
2013-10-16 11:31   ` Kamil Debski
2013-10-17 17:19 ` [PATCH RFC v2 00/10] V4L2 " Sylwester Nawrocki
2013-10-17 17:27   ` Hans Verkuil [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=5b441bfc95ea3d9500c0eb7b68134c51.squirrel@webmail.xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=arun.kk@samsung.com \
    --cc=javier.martin@vista-silicon.com \
    --cc=k.debski@samsung.com \
    --cc=kyungmin.park@samsung.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=p.zabel@pengutronix.de \
    --cc=pawel@osciak.com \
    --cc=s.nawrocki@samsung.com \
    --cc=shaik.ameer@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