From: Tony Lindgren <tony@atomide.com>
To: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: Alan Stern <stern@rowland.harvard.edu>,
Tom Mises <tommises@gmail.com>,
linux-omap@vger.kernel.org, linux-usb@vger.kernel.org
Subject: Re: High CPU usage when video streaming on EHCI, 3.17.8 kernel with DMA enabled
Date: Mon, 18 May 2015 07:59:20 -0700 [thread overview]
Message-ID: <20150518145919.GC10274@atomide.com> (raw)
In-Reply-To: <20150518102715.34e29c33@perruche.parrot.biz>
* Matthieu CASTET <matthieu.castet@parrot.com> [150518 01:34]:
> Hi,
>
> last time I checked uvc driver, it was doing memcpy of video buffer : see uvc_video_decode_data.
>
> It your video resolution is big, this can eat lot's of cpu.
>
> Doing a trace should help you.
For the memcpy part with DMA this patch should help too:
[PATCH] dmaengine: omap-dma: Add support for memcpy
Regards,
Tony
next prev parent reply other threads:[~2015-05-18 14:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-17 6:45 High CPU usage when video streaming on EHCI, 3.17.8 kernel with DMA enabled Tom Mises
[not found] ` <CALmG-ASRge4g6euyUEaxrLryvNR_tFSRexFSDZ5HNuzx_W4AyA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-17 14:06 ` Alan Stern
2015-05-18 8:27 ` Matthieu CASTET
2015-05-18 14:59 ` Tony Lindgren [this message]
[not found] ` <20150518145919.GC10274-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2015-05-21 21:20 ` Ash Charles
[not found] ` <CAK8F28mdedXgL660SqTLeNZ7hVHOmRR7YwuTdkyY3XmnZ97_Zw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-01 18:22 ` Tom Mises
[not found] ` <CALmG-ARrzJ=kRH-958F20WPH+=VCpjrgMuyn9MWv4uj2dnSRpw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-07-02 6:22 ` Tony Lindgren
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=20150518145919.GC10274@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=matthieu.castet@parrot.com \
--cc=stern@rowland.harvard.edu \
--cc=tommises@gmail.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).