From: Michael Grzeschik <m.grzeschik@pengutronix.de>
To: linux-usb@vger.kernel.org
Cc: laurent.pinchart@ideasonboard.com,
caleb.connolly@ideasonboard.com, paul.elder@ideasonboard.com,
balbi@kernel.org, kernel@pengutronix.de
Subject: [PATCH v3 0/5] usb: gadget: uvc: improve uvc gadget performance
Date: Mon, 28 Jun 2021 17:53:06 +0200 [thread overview]
Message-ID: <20210628155311.16762-1-m.grzeschik@pengutronix.de> (raw)
This series improves the performance of the uvc video gadget by adding a
zero copy routine using the scatter list interface of the gadget. The
series also increases the amount of allocated requests depending of the
speed and it also reduces the interrupt load by only trigger on every
16th request in case of super-speed.
Michael Grzeschik (5):
usb: dwc3: gadget: set gadgets parent to the right controller
usb: gadget: uvc: make uvc_num_requests depend on gadget speed
usb: gadget: uvc: set v4l2_dev->dev in f_uvc
usb: gadget: uvc: add scatter gather support
usb: gadget: uvc: decrease the interrupt load to a quarter
drivers/usb/dwc3/gadget.c | 2 +-
drivers/usb/gadget/Kconfig | 1 +
drivers/usb/gadget/function/f_uvc.c | 1 +
drivers/usb/gadget/function/uvc.h | 15 ++-
drivers/usb/gadget/function/uvc_queue.c | 28 ++++-
drivers/usb/gadget/function/uvc_queue.h | 7 +-
drivers/usb/gadget/function/uvc_video.c | 155 +++++++++++++++++++-----
drivers/usb/gadget/function/uvc_video.h | 2 +
drivers/usb/gadget/legacy/Kconfig | 1 +
9 files changed, 176 insertions(+), 36 deletions(-)
--
2.30.2
next reply other threads:[~2021-06-28 15:55 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-28 15:53 Michael Grzeschik [this message]
2021-06-28 15:53 ` [PATCH v3 1/5] usb: dwc3: gadget: set gadgets parent to the right controller Michael Grzeschik
2021-07-21 8:01 ` Greg KH
2021-07-21 8:11 ` Felipe Balbi
2021-06-28 15:53 ` [PATCH v3 2/5] usb: gadget: uvc: make uvc_num_requests depend on gadget speed Michael Grzeschik
2021-06-28 15:53 ` [PATCH v3 3/5] usb: gadget: uvc: set v4l2_dev->dev in f_uvc Michael Grzeschik
2021-06-28 15:53 ` [PATCH v3 4/5] usb: gadget: uvc: add scatter gather support Michael Grzeschik
2021-06-28 15:53 ` [PATCH v3 5/5] usb: gadget: uvc: decrease the interrupt load to a quarter Michael Grzeschik
2021-06-28 16:47 ` [PATCH v3 0/5] usb: gadget: uvc: improve uvc gadget performance Michael Grzeschik
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=20210628155311.16762-1-m.grzeschik@pengutronix.de \
--to=m.grzeschik@pengutronix.de \
--cc=balbi@kernel.org \
--cc=caleb.connolly@ideasonboard.com \
--cc=kernel@pengutronix.de \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-usb@vger.kernel.org \
--cc=paul.elder@ideasonboard.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 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.