From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: "Matwey V. Kornilov" <matwey@sai.msu.ru>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
matwey.kornilov@gmail.com, tfiga@chromium.org,
stern@rowland.harvard.edu, ezequiel@collabora.com,
hdegoede@redhat.com, hverkuil@xs4all.nl, mchehab@kernel.org,
rostedt@goodmis.org, mingo@redhat.com, isely@pobox.com,
bhumirks@gmail.com, colin.king@canonical.com,
kieran.bingham@ideasonboard.com, keiichiw@chromium.org
Subject: Re: [PATCH v6 0/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer
Date: Wed, 12 Dec 2018 19:28:27 +0200 [thread overview]
Message-ID: <3390244.qRE0ngbmrs@avalon> (raw)
In-Reply-To: <20181109190327.23606-1-matwey@sai.msu.ru>
Hi Matwey,
Thank you for the patches.
For the whole series,
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
On Friday, 9 November 2018 21:03:25 EET Matwey V. Kornilov wrote:
> DMA cocherency slows the transfer down on systems without hardware coherent
> DMA. In order to demontrate this we introduce performance measurement
> facilities in patch 1 and fix the performance issue in patch 2 in order to
> obtain 3.3 times speedup.
>
> Changes since v5:
> * add dma_sync_single_for_device() as required by Laurent Pinchart
>
> Changes since v4:
> * fix fields order in trace events
> * minor style fixes
>
> Changes since v3:
> * fix scripts/checkpatch.pl errors
> * use __string to store name in trace events
>
> Changes since v2:
> * use dma_sync_single_for_cpu() to achive better performance
> * remeasured performance
>
> Changes since v1:
> * trace_pwc_handler_exit() call moved to proper place
> * detailed description added for commit 1
> * additional output added to trace to track separate frames
>
> Matwey V. Kornilov (2):
> media: usb: pwc: Introduce TRACE_EVENTs for pwc_isoc_handler()
> media: usb: pwc: Don't use coherent DMA buffers for ISO transfer
>
> drivers/media/usb/pwc/pwc-if.c | 69 +++++++++++++++++++++++++++++++--------
> include/trace/events/pwc.h | 65 +++++++++++++++++++++++++++++++++++++++
> 2 files changed, 121 insertions(+), 13 deletions(-)
> create mode 100644 include/trace/events/pwc.h
--
Regards,
Laurent Pinchart
next prev parent reply other threads:[~2018-12-12 17:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-09 19:03 [PATCH v6 0/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer Matwey V. Kornilov
2018-11-09 19:03 ` [PATCH v6 1/2] media: usb: pwc: Introduce TRACE_EVENTs for pwc_isoc_handler() Matwey V. Kornilov
2018-11-09 19:32 ` Steven Rostedt
2018-12-12 17:36 ` [PATCH v6 3/2] MAINTAINERS: added include/trace/events/pwc.h Hans Verkuil
2018-11-09 19:03 ` [PATCH v6 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer Matwey V. Kornilov
2018-11-21 18:15 ` Matwey V. Kornilov
2018-11-30 12:20 ` Matwey V. Kornilov
2018-12-12 13:07 ` Matwey V. Kornilov
2018-12-12 13:56 ` Steven Rostedt
2018-12-12 14:01 ` Steven Rostedt
2018-12-12 15:15 ` Matwey V. Kornilov
2018-12-12 17:28 ` Laurent Pinchart [this message]
2018-12-12 17:41 ` [PATCH v6 0/2] " Ezequiel Garcia
2018-12-24 8:23 ` Matwey V. Kornilov
-- strict thread matches above, loose matches on Subject: below --
2018-11-09 19:01 Matwey V. Kornilov
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=3390244.qRE0ngbmrs@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=bhumirks@gmail.com \
--cc=colin.king@canonical.com \
--cc=ezequiel@collabora.com \
--cc=hdegoede@redhat.com \
--cc=hverkuil@xs4all.nl \
--cc=isely@pobox.com \
--cc=keiichiw@chromium.org \
--cc=kieran.bingham@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=matwey.kornilov@gmail.com \
--cc=matwey@sai.msu.ru \
--cc=mchehab@kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=stern@rowland.harvard.edu \
--cc=tfiga@chromium.org \
/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