Skip to content

media: uvc: limit max bandwidth for HDMI capture

Hans de Goede linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2media: uvcvideo: Add a UVC_FIVAL_DENOM definedrivers/media/usb/uvc/uvc_driver.c drivers/media/usb/uvc/uvc_v4l2.c drivers/media/usb/uvc/uvc_video.c +1 more+14 -121 reply
2/2media: uvc: limit max bandwidth for HDMI capturedrivers/media/usb/uvc/uvc_driver.c drivers/media/usb/uvc/uvc_video.c drivers/media/usb/uvc/uvcvideo.h+41 -33 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRicardo Ribalda
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] media: uvc: limit max bandwidth for HDMI capture

Hi All,

This is mostly a resend of Mauro's patch from a long time ago to fix the MacroSilicon HDMI capture UVC dongle:
https://patchwork.linuxtv.org/project/linux-media/patch/bca0634691cea503c2c5df62b98ba66f0c85bf85.1624350539.git.mchehab+huawei@kernel.org/

While reviewing this I noticed that the driver hardcodes 10000000 for the UVC frame interval denominator everywhere. So this v2 adds a preparation patch adding a define for that constant.

The only other change from Mauro's v1 is adding a comment that the new uvc_device_info.max_bandwidth field is in pixels per second.

Regards,

Hans

Hans de Goede (1):
media: uvcvideo: Add a UVC_FIVAL_DENOM define

Mauro Carvalho Chehab (1):
media: uvc: limit max bandwidth for HDMI capture

 drivers/media/usb/uvc/uvc_driver.c | 18 ++++++++++++++--
 drivers/media/usb/uvc/uvc_v4l2.c   | 16 +++++++--------
 drivers/media/usb/uvc/uvc_video.c  | 33 +++++++++++++++++++++++++-----
 drivers/media/usb/uvc/uvcvideo.h   |  3 +++
 4 files changed, 55 insertions(+), 15 deletions(-)
Signature · 1 line
2.47.1