[PATCH v3 0/6] media: uvcvideo: Fixes for hw timestamping

Ricardo Ribalda posted 6 patches 1 month ago
drivers/media/usb/uvc/uvc_video.c | 72 ++++++++++++++++++++++++++++-----------
drivers/media/usb/uvc/uvcvideo.h  |  3 +-
2 files changed, 54 insertions(+), 21 deletions(-)
[PATCH v3 0/6] media: uvcvideo: Fixes for hw timestamping
Posted by Ricardo Ribalda 1 month ago
This series introduces fixes for the hardware timestamp calculations.

Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
---
Changes in v3:
- Improve the sof_diff function logic.
- Split "Do not run expensive code if not needed" patchset in two
- Link to v2: https://lore.kernel.org/r/20260512-uvc-hwtimestamp-v2-0-3c2905c733bb@chromium.org

Changes in v2:
- Fix comments
- Add UCV_ prefix
- Improve commit messages
- Add "Do not run expensive code if not needed" patchset
- Link to v1: https://lore.kernel.org/r/20260323-uvc-hwtimestamp-v1-0-aa42e3865204@chromium.org

---
Ricardo Ribalda (6):
      media: uvcvideo: Fix dev_sof filtering in hw timestamp
      media: uvcvideo: Use hw timestaming if the clock buffer is full
      media: uvcvideo: Relax the constrains for interpolating the hw clock
      media: uvcvideo: Do not add clock samples with small sof delta
      media: uvcvideo: Do not add samples if dev_sof has not changed
      media: uvcvideo: Only do uvc_video_get_time() if needed

 drivers/media/usb/uvc/uvc_video.c | 72 ++++++++++++++++++++++++++++-----------
 drivers/media/usb/uvc/uvcvideo.h  |  3 +-
 2 files changed, 54 insertions(+), 21 deletions(-)
---
base-commit: 10f943b12e7cb338da00f10e129043ae27b33af4
change-id: 20260309-uvc-hwtimestamp-f25dc27f5711

Best regards,
-- 
Ricardo Ribalda <ribalda@chromium.org>
Re: [PATCH v3 0/6] media: uvcvideo: Fixes for hw timestamping
Posted by Hans de Goede 3 weeks, 4 days ago
Hi,

On 13-May-26 1:49 PM, Ricardo Ribalda wrote:
> This series introduces fixes for the hardware timestamp calculations.
> 
> Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
> ---
> Changes in v3:
> - Improve the sof_diff function logic.
> - Split "Do not run expensive code if not needed" patchset in two
> - Link to v2: https://lore.kernel.org/r/20260512-uvc-hwtimestamp-v2-0-3c2905c733bb@chromium.org

Thank you.

I've merged this series and pushed it out to the uvc/for-next branch.

Note I've also rebased uvc/for-next on top of the latest media-committers/next .

Regards,

Hans



> 
> Changes in v2:
> - Fix comments
> - Add UCV_ prefix
> - Improve commit messages
> - Add "Do not run expensive code if not needed" patchset
> - Link to v1: https://lore.kernel.org/r/20260323-uvc-hwtimestamp-v1-0-aa42e3865204@chromium.org
> 
> ---
> Ricardo Ribalda (6):
>       media: uvcvideo: Fix dev_sof filtering in hw timestamp
>       media: uvcvideo: Use hw timestaming if the clock buffer is full
>       media: uvcvideo: Relax the constrains for interpolating the hw clock
>       media: uvcvideo: Do not add clock samples with small sof delta
>       media: uvcvideo: Do not add samples if dev_sof has not changed
>       media: uvcvideo: Only do uvc_video_get_time() if needed
> 
>  drivers/media/usb/uvc/uvc_video.c | 72 ++++++++++++++++++++++++++++-----------
>  drivers/media/usb/uvc/uvcvideo.h  |  3 +-
>  2 files changed, 54 insertions(+), 21 deletions(-)
> ---
> base-commit: 10f943b12e7cb338da00f10e129043ae27b33af4
> change-id: 20260309-uvc-hwtimestamp-f25dc27f5711
> 
> Best regards,