[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250602-uvc-fop-v3-0-a99e18f65640@chromium.org>
Date: Mon, 02 Jun 2025 16:06:43 +0000
From: Ricardo Ribalda <ribalda@...omium.org>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Hans de Goede <hdegoede@...hat.com>, Hans Verkuil <hans@...erkuil.nl>,
Mauro Carvalho Chehab <mchehab@...nel.org>
Cc: linux-media@...r.kernel.org, linux-kernel@...r.kernel.org,
Ricardo Ribalda <ribalda@...omium.org>, Hans Verkuil <hverkuil@...all.nl>,
Hans de Goede <hansg@...nel.org>
Subject: [PATCH v3 0/5] media: uvcvideo: use vb2 ioctl and fop helpers
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@...omium.org>
---
Changes in v3:
- Refactor start/stop_streaming(): make meta and video versions
- Link to v2: https://lore.kernel.org/r/20250602-uvc-fop-v2-0-508a293eae81@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 (4):
media: uvcvideo: Refactor uvc_queue_streamon
media: uvcvideo: Handle locks in uvc_queue_return_buffers
media: uvcvideo: Split uvc_stop_streaming()
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 | 194 +++++------------------
drivers/media/usb/uvc/uvc_v4l2.c | 291 ++---------------------------------
drivers/media/usb/uvc/uvcvideo.h | 38 +----
5 files changed, 64 insertions(+), 501 deletions(-)
---
base-commit: 02e8ee21bd40010ab00f4a8e995f4cc97dc83dea
change-id: 20250521-uvc-fop-b74e9007dd51
Best regards,
--
Ricardo Ribalda <ribalda@...omium.org>
Powered by blists - more mailing lists