All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] usb: dwc3: gadget: improve isoc handling
@ 2020-06-24 14:49 Michael Grzeschik
  2020-06-24 14:49 ` [PATCH v2 1/2] usb: dwc3: gadget: make starting isoc transfers more robust Michael Grzeschik
  2020-06-24 14:49 ` [PATCH v2 2/2] usb: dwc3: gadget: when the started list is empty stop the active xfer Michael Grzeschik
  0 siblings, 2 replies; 12+ messages in thread
From: Michael Grzeschik @ 2020-06-24 14:49 UTC (permalink / raw)
  To: linux-usb; +Cc: Thinh.Nguyen, balbi, gregkh, kernel

These two patches improve the isoc handling and make the dwc3 gadget
driver somewhat usable with the UVC gadget for isochronous endpoints.

The first patch makes starting isochronous transfers more reliable. I
think it's more less, what Thinh suggested some time ago[1]. It's still
not perfect because the first request must still be queued within 2
seconds but it's a lot better than the current situation.

The second patch makes it possible to have gaps in the data stream. The 
UVC gadget relies on such behaviour. Without this, using the UVC gadget
with a live stream stops after the first frame that needs more time to
be scheduled.

[1] https://marc.info/?l=linux-usb&m=156088170723824&w=4


Michael Grzeschik (1):
  usb: dwc3: gadget: when the started list is empty stop the active xfer

Michael Olbrich (1):
  usb: dwc3: gadget: make starting isoc transfers more robust

 drivers/usb/dwc3/gadget.c | 42 +++++++++++++++++++++++++++------------
 1 file changed, 29 insertions(+), 13 deletions(-)

-- 
2.27.0


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

end of thread, other threads:[~2020-06-29 19:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24 14:49 [PATCH v2 0/2] usb: dwc3: gadget: improve isoc handling Michael Grzeschik
2020-06-24 14:49 ` [PATCH v2 1/2] usb: dwc3: gadget: make starting isoc transfers more robust Michael Grzeschik
2020-06-24 19:26   ` Thinh Nguyen
2020-06-24 21:09     ` Thinh Nguyen
2020-06-25 11:44     ` Michael Grzeschik
2020-06-25 19:35       ` Thinh Nguyen
2020-06-25 20:14         ` Thinh Nguyen
2020-06-25 20:20           ` Thinh Nguyen
2020-06-29 13:12             ` Michael Grzeschik
2020-06-24 14:49 ` [PATCH v2 2/2] usb: dwc3: gadget: when the started list is empty stop the active xfer Michael Grzeschik
2020-06-24 19:43   ` Thinh Nguyen
2020-06-25 12:04     ` Michael Grzeschik

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.