All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] media: uvcvideo: use vb2 ioctl and fop helpers
@ 2025-06-02 12:59 Ricardo Ribalda
  2025-06-02 12:59 ` [PATCH v2 1/3] media: uvcvideo: Refactor uvc_queue_streamon Ricardo Ribalda
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Ricardo Ribalda @ 2025-06-02 12:59 UTC (permalink / raw)
  To: Laurent Pinchart, Hans de Goede, Hans Verkuil,
	Mauro Carvalho Chehab
  Cc: linux-media, linux-kernel, Ricardo Ribalda, Hans Verkuil,
	Hans de Goede

This is a rebump of a 4 years old patch from Hans.
https://lore.kernel.org/linux-media/20210618122923.385938-21-ribalda@chromium.org/

It brings "new" helpers to the uvcdriver and removes tons of code.

The patch:
media: uvcvideo: Refactor uvc_queue_streamon
Is already in the uvc tree. It is here just for CI purposes, do not
review.

I have uploaded my working tree at:
https://gitlab.freedesktop.org/linux-media/users/ribalda/-/commits/b4/uvc-fop
which shows the differences from the original patch, this is mainly for
helping the review to people familiar with the previous patch.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Changes in v2, Thanks HansV:
- Fix typos
- Use start_streaming and stop_streaming for managing pm
- Link to v1: https://lore.kernel.org/r/20250522-uvc-fop-v1-0-3bfe7a00f31d@chromium.org

---
Hans Verkuil (1):
      media: uvcvideo: Use vb2 ioctl and fop helpers

Ricardo Ribalda (2):
      media: uvcvideo: Refactor uvc_queue_streamon
      media: uvcvideo: Remove stream->is_streaming field

 drivers/media/usb/uvc/uvc_driver.c   |  34 +---
 drivers/media/usb/uvc/uvc_metadata.c |   8 +-
 drivers/media/usb/uvc/uvc_queue.c    | 154 ++----------------
 drivers/media/usb/uvc/uvc_v4l2.c     | 291 ++---------------------------------
 drivers/media/usb/uvc/uvcvideo.h     |  38 +----
 5 files changed, 37 insertions(+), 488 deletions(-)
---
base-commit: 5e1ff2314797bf53636468a97719a8222deca9ae
change-id: 20250521-uvc-fop-b74e9007dd51

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>


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

end of thread, other threads:[~2025-07-11 15:53 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-02 12:59 [PATCH v2 0/3] media: uvcvideo: use vb2 ioctl and fop helpers Ricardo Ribalda
2025-06-02 12:59 ` [PATCH v2 1/3] media: uvcvideo: Refactor uvc_queue_streamon Ricardo Ribalda
2025-06-02 12:59 ` [PATCH v2 2/3] media: uvcvideo: Use vb2 ioctl and fop helpers Ricardo Ribalda
2025-06-02 18:31   ` Laurent Pinchart
2025-06-02 19:53     ` Ricardo Ribalda
2025-06-03  8:49       ` Laurent Pinchart
2025-06-03 10:07         ` Ricardo Ribalda
2025-07-11 15:53           ` Laurent Pinchart
2025-06-02 19:58     ` Hans Verkuil
2025-06-03  6:55       ` Hans Verkuil
2025-06-03  7:46       ` Laurent Pinchart
2025-06-03  8:22         ` Hans Verkuil
2025-06-03  8:34           ` Laurent Pinchart
2025-06-03  8:46             ` Hans Verkuil
2025-06-02 12:59 ` [PATCH v2 3/3] media: uvcvideo: Remove stream->is_streaming field Ricardo Ribalda
2025-06-02 13:22   ` Hans Verkuil
2025-06-02 13:33     ` Ricardo Ribalda
2025-06-02 13:47       ` Hans Verkuil
2025-06-02 14:02         ` Laurent Pinchart
2025-06-02 14:38           ` Ricardo Ribalda
2025-06-02 16:07             ` Hans Verkuil

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.