All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Don't use coherent DMA buffers for ISO transfer
@ 2018-06-22 12:04 Matwey V. Kornilov
  2018-06-22 12:04 ` [PATCH v2 1/2] media: usb: pwc: Introduce TRACE_EVENTs for pwc_isoc_handler() Matwey V. Kornilov
  2018-06-22 12:04 ` [PATCH v2 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer Matwey V. Kornilov
  0 siblings, 2 replies; 11+ messages in thread
From: Matwey V. Kornilov @ 2018-06-22 12:04 UTC (permalink / raw)
  To: hverkuil, mchehab
  Cc: Matwey V. Kornilov, rostedt, mingo, isely, bhumirks, colin.king,
	linux-media, linux-kernel, ezequiel, laurent.pinchart

From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>

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 5.5 times speedup.

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 | 19 +++++++------
 include/trace/events/pwc.h     | 64 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+), 9 deletions(-)
 create mode 100644 include/trace/events/pwc.h

-- 
2.16.4


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-08-09 14:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-22 12:04 [PATCH v2 0/2] Don't use coherent DMA buffers for ISO transfer Matwey V. Kornilov
2018-06-22 12:04 ` [PATCH v2 1/2] media: usb: pwc: Introduce TRACE_EVENTs for pwc_isoc_handler() Matwey V. Kornilov
2018-06-22 15:52   ` Steven Rostedt
2018-06-22 15:52     ` Steven Rostedt
2018-06-22 12:04 ` [PATCH v2 2/2] media: usb: pwc: Don't use coherent DMA buffers for ISO transfer Matwey V. Kornilov
2018-07-13 16:11   ` Matwey V. Kornilov
2018-08-08 22:46   ` Laurent Pinchart
2018-08-09  9:18     ` Matwey V. Kornilov
2018-08-09  9:44       ` Laurent Pinchart
2018-08-09  9:44         ` Laurent Pinchart
2018-08-09 14:30         ` Tomasz Figa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.