public inbox for linux-usb@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] usb: gadget: uvc: allocate requests based on frame interval length and buffersize
@ 2024-04-09 21:24 Michael Grzeschik
  2024-04-09 21:24 ` [PATCH 1/3] usb: gadget: function: uvc: set req_size once when the vb2 queue is calculated Michael Grzeschik
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: Michael Grzeschik @ 2024-04-09 21:24 UTC (permalink / raw)
  To: Laurent Pinchart, Daniel Scally, Greg Kroah-Hartman
  Cc: linux-usb, linux-kernel, Michael Grzeschik

This patch series is improving the size calculation and allocation
of the uvc requests. Using the currenlty setup frame duration of the
stream it is possible to calculate the number of requests based on the
interval length.

Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
---
Michael Grzeschik (3):
      usb: gadget: function: uvc: set req_size once when the vb2 queue is calculated
      usb: gadget: uvc: add g_parm and s_parm for frame interval
      usb: gadget: uvc: set req_size and n_requests based on the frame interval

 drivers/usb/gadget/function/uvc.h       |  1 +
 drivers/usb/gadget/function/uvc_queue.c | 30 ++++++++++++++-----
 drivers/usb/gadget/function/uvc_v4l2.c  | 52 +++++++++++++++++++++++++++++++++
 drivers/usb/gadget/function/uvc_video.c | 17 ++---------
 4 files changed, 79 insertions(+), 21 deletions(-)
---
base-commit: 3295f1b866bfbcabd625511968e8a5c541f9ab32
change-id: 20240403-uvc_request_length_by_interval-a7efd587d963

Best regards,
-- 
Michael Grzeschik <m.grzeschik@pengutronix.de>


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

end of thread, other threads:[~2024-06-10 21:44 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-09 21:24 [PATCH 0/3] usb: gadget: uvc: allocate requests based on frame interval length and buffersize Michael Grzeschik
2024-04-09 21:24 ` [PATCH 1/3] usb: gadget: function: uvc: set req_size once when the vb2 queue is calculated Michael Grzeschik
2024-04-09 21:24 ` [PATCH 2/3] usb: gadget: uvc: add g_parm and s_parm for frame interval Michael Grzeschik
2024-04-09 21:24 ` [PATCH 3/3] usb: gadget: uvc: set req_size and n_requests based on the " Michael Grzeschik
2024-04-21 23:25 ` [PATCH 0/3] usb: gadget: uvc: allocate requests based on frame interval length and buffersize Michael Grzeschik
2024-04-23  0:21   ` Avichal Rakesh
2024-04-23 14:25     ` Michael Grzeschik
2024-04-23 23:23       ` Avichal Rakesh
2024-04-24  2:28         ` Thinh Nguyen
2024-05-12 22:10           ` Michael Grzeschik
2024-05-17  1:44             ` Thinh Nguyen
2024-05-22  0:08               ` Michael Grzeschik
2024-05-22  1:41                 ` Thinh Nguyen
2024-05-22 14:50                   ` Alan Stern
2024-05-22 17:17                     ` Thinh Nguyen
2024-05-22 17:37                       ` Michael Grzeschik
2024-05-22 18:23                         ` Thinh Nguyen
2024-05-22 18:58                         ` Alan Stern
2024-05-28 17:30                         ` Avichal Rakesh
2024-05-28 20:22                           ` Michael Grzeschik
2024-05-28 21:27                             ` Avichal Rakesh
2024-05-28 22:43                               ` Michael Grzeschik
2024-05-29  0:33                                 ` Avichal Rakesh
2024-05-29 21:24                                   ` Michael Grzeschik
2024-06-04 22:32                                     ` Avichal Rakesh
2024-06-10 21:44                                       ` Michael Grzeschik
2024-05-22 11:16         ` Michael Grzeschik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox