linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi@kernel.org>
To: "Chow, Watson" <Watson.Chow@Avnet.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: RE: [BUG REPORT] usb: dwc3: Bug while setting the USB transfer bandwidth on UVC gadget driver
Date: Fri, 04 Jun 2021 08:15:51 +0300	[thread overview]
Message-ID: <871r9icirc.fsf@kernel.org> (raw)
In-Reply-To: <c64f050b25d445ec8342ac25f7a563a4@Avnet.com>

[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]


Hi,

"Chow, Watson" <Watson.Chow@Avnet.com> writes:
>>>>> 3. You suggest me to try on kernel v5.12 or the latest v5.13-rc. It looks not
>>>>> easy in my side to upgrade the kernel version. It would affect those other 
>>>>> device drivers I'm currently using. So, do you think there's any short cut 
>>>>> to fix this problem under my current kernel version - v5.4?
>>>>
>>>>In that case, you need to ask for support from whoever forces you to
>>>>stay with such an old kernel. I believe that would be Xilinx.
>>>
>>> I have a thought to back port those changes around the dwc3 and gadget driver
>>> from the latest kernel version to my kernel (v5.4). Do you think this is 
>>> feasible?
>>
>>should be, but it's likely quite a bit of work:
>>
>>$ git rev-list --count v5.4..linus/master -- drivers/usb/dwc3/
>>257
>>
>
> Upgraded the kernel version to 5.9, I can set the g_webcam module pararmeters
> as follow (for max bandwidth):
>
> streaming_maxpacket=3072
> streaming_maxburst=15
> streaming_interval=1
>
> Data transfer with above setting is working now - tested with dummy data
> generator in the uvc-gadget app.
>
> This concludes that kernel 5.4 is too old for DWC3 and UVC gadget driver
> in high bandwidth usage

Cool, thanks for letting me know :-)

-- 
balbi

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

  reply	other threads:[~2021-06-04  5:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14  3:20 [BUG REPORT] usb: dwc3: Bug while setting the USB transfer bandwidth on UVC gadget driver Chow, Watson
2021-05-14  7:16 ` Felipe Balbi
2021-05-14  8:59   ` Chow, Watson
2021-05-14 10:31     ` Felipe Balbi
2021-05-17  3:58       ` Chow, Watson
2021-05-17  5:32         ` Felipe Balbi
2021-06-04  2:53           ` Chow, Watson
2021-06-04  5:15             ` Felipe Balbi [this message]
2021-06-07  6:11             ` Peter Chen
2021-06-07 11:26               ` Chow, Watson

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=871r9icirc.fsf@kernel.org \
    --to=balbi@kernel.org \
    --cc=Watson.Chow@Avnet.com \
    --cc=linux-usb@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).