From: Hans de Goede <hansg@kernel.org>
To: Ricardo Ribalda <ribalda@chromium.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
Hans Verkuil <hverkuil@xs4all.nl>
Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org,
Hans Verkuil <hans@jjverkuil.nl>, Hans Verkuil <hans@hverkuil.nl>
Subject: Re: [PATCH v4 0/7] media: uvcvideo: Invert granular PM logic + PM fix
Date: Mon, 7 Jul 2025 14:35:33 +0200 [thread overview]
Message-ID: <470d3b4c-453b-4412-957f-f7cd9ab2e997@kernel.org> (raw)
In-Reply-To: <20250701-uvc-grannular-invert-v4-0-8003b9b89f68@chromium.org>
Hi,
On 1-Jul-25 08:45, Ricardo Ribalda wrote:
> It makes more sense to have a list of the ioctls that need power than
> the other way around. This patchset takes care of this.
>
> It also fixes one error in the PM logic introduced in a recent patchset.
>
> To support CI I have included patches that are in uvc/for-next but not
> in media-committer:
> media: uvcvideo: Remove stream->is_streaming field
> media: uvcvideo: Split uvc_stop_streaming()
> media: uvcvideo: Handle locks in uvc_queue_return_buffers
> media: uvcvideo: Use vb2 ioctl and fop helpers
> Do not review them again.
>
> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Thank you for the new version.
I've pushed patches 5-7 to uvc/for-next now (1-4 are
already there).
I plan to send a pull-request with these changes this Thursday.
Regards,
Hans
> ---
> Changes in v4:
> - CTRL_MAP DO need the device powered. Thanks Laurent
> - CodeStyle
> - use EXPORT_SYMBOL_GPL
> - Link to v3: https://lore.kernel.org/r/20250630-uvc-grannular-invert-v3-0-abd5cb5c45b7@chromium.org
>
> Changes in v3:
> - Rebase
> - Merge Invert PM patch with add support for compat ioctls
> - Export different core function
> - Inline the pm_ioctl patch
> - Fix typo in comment
> - Link to v2: https://lore.kernel.org/r/20250602-uvc-grannular-invert-v2-0-c871934ad880@chromium.org
>
> Changes in v2. Thanks HdG:
> - Rebase fop
> - CodeStyle
> - Refactor SEND_INITIAL to avoid lis_del()
> - Squash "invert PM logic" and "unless is needed"
> - Link to v1: https://lore.kernel.org/r/20250528-uvc-grannular-invert-v1-0-d01581f9cc25@chromium.org
>
> ---
> Hans Verkuil (1):
> media: uvcvideo: Use vb2 ioctl and fop helpers
>
> Ricardo Ribalda (6):
> media: uvcvideo: Handle locks in uvc_queue_return_buffers
> media: uvcvideo: Split uvc_stop_streaming()
> media: uvcvideo: Remove stream->is_streaming field
> media: uvcvideo: Turn on the camera if V4L2_EVENT_SUB_FL_SEND_INITIAL
> media: core: export v4l2_translate_cmd
> media: uvcvideo: uvc_v4l2_unlocked_ioctl: Invert PM logic
>
> drivers/media/usb/uvc/uvc_ctrl.c | 10 +-
> drivers/media/usb/uvc/uvc_driver.c | 37 +---
> drivers/media/usb/uvc/uvc_metadata.c | 8 +-
> drivers/media/usb/uvc/uvc_queue.c | 199 +++++---------------
> drivers/media/usb/uvc/uvc_v4l2.c | 345 +++++------------------------------
> drivers/media/usb/uvc/uvcvideo.h | 37 +---
> drivers/media/v4l2-core/v4l2-ioctl.c | 5 +-
> include/media/v4l2-ioctl.h | 1 +
> 8 files changed, 112 insertions(+), 530 deletions(-)
> ---
> base-commit: 35392e855abf7d02ad3b061cbc75c7c7c37f0577
> change-id: 20250528-uvc-grannular-invert-19ad34c59391
>
> Best regards,
prev parent reply other threads:[~2025-07-07 12:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-01 6:45 [PATCH v4 0/7] media: uvcvideo: Invert granular PM logic + PM fix Ricardo Ribalda
2025-07-01 6:45 ` [PATCH v4 1/7] media: uvcvideo: Use vb2 ioctl and fop helpers Ricardo Ribalda
2025-07-01 6:45 ` [PATCH v4 2/7] media: uvcvideo: Handle locks in uvc_queue_return_buffers Ricardo Ribalda
2025-07-01 6:45 ` [PATCH v4 3/7] media: uvcvideo: Split uvc_stop_streaming() Ricardo Ribalda
2025-07-01 6:45 ` [PATCH v4 4/7] media: uvcvideo: Remove stream->is_streaming field Ricardo Ribalda
2025-07-01 6:45 ` [PATCH v4 5/7] media: uvcvideo: Turn on the camera if V4L2_EVENT_SUB_FL_SEND_INITIAL Ricardo Ribalda
2025-07-01 6:45 ` [PATCH v4 6/7] media: core: export v4l2_translate_cmd Ricardo Ribalda
2025-07-01 6:45 ` [PATCH v4 7/7] media: uvcvideo: uvc_v4l2_unlocked_ioctl: Invert PM logic Ricardo Ribalda
2025-07-07 12:35 ` Hans de Goede [this message]
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=470d3b4c-453b-4412-957f-f7cd9ab2e997@kernel.org \
--to=hansg@kernel.org \
--cc=hans@hverkuil.nl \
--cc=hans@jjverkuil.nl \
--cc=hverkuil@xs4all.nl \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@kernel.org \
--cc=ribalda@chromium.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).