On Sun May 10 19:50:36 2026 -0400, Ben Hoff wrote:
> Add an in-tree AVMatrix HWS PCIe capture driver. The driver supports
> up to four HDMI inputs and exposes the video capture path through
> V4L2 with vb2-dma-contig streaming, DV timings, and per-input
> controls. Audio support is intentionally omitted from this
> submission.
>
> This patch also adds the MAINTAINERS entry for the new driver.
>
> This driver is derived from a GPL out-of-tree driver.
>
> Changes since v6:
> - v6 accidently contained legacy history, resubmitting with latest
> - remove an unused mode-change label reported by W=1
>
> Changes since v5:
> - keep queue_setup() and alloc_sizeimage on the logical sizeimage value
> - drop the dead queue_setup() fallback that rebuilt pix.sizeimage
> on the fly
> - clarify that hws_calc_sizeimage() models the packed-YUYV-only path
> - add Assisted-by attribution for Codex
>
> Changes since v4:
> - replace plain 64-bit elapsed-time divisions in debug logging with
> div_u64() so i386 module builds do not emit __udivdi3 references
>
> Changes since v3:
> - fold the MAINTAINERS update into this patch so per-patch CI sees the
> new file pattern
> - wrap the validation text for checkpatch
>
> Changes since v2:
> - keep scratch DMA allocation on a single probe-owned path
> - avoid double-freeing V4L2 control handlers on register unwind
> - drop the extra per-node resolution sysfs ABI
> - turn live geometry changes into explicit SOURCE_CHANGE renegotiation
> - report live DV timings and reject attempts to retime a live source
> - stop advertising RESOLUTION source changes for fps-only updates
> - keep live fps state across harmless S_FMT restarts
> - stop exposing an unvalidated DV RX power-present signal
> - clean the imported sources for checkpatch and W=1 builds
>
> Validation:
> - build-tested with W=1 against a local kernel build tree
> - compiled the driver with ARCH=i386 allmodconfig and verified the
> resulting hws_pci.o, hws_video.o, and hws.o do not reference
> __udivdi3
> - v4l2-compliance 1.33.0-5459 from v4l-utils commit
> 4a0d2c3b4f523406cb9a6f4c541ef14f72f19f3d on /dev/video2:
> 48 tests succeeded, 0 failed, 1 warning
>
> DV_RX_POWER_PRESENT is intentionally left unsupported in this revision
> because current hardware evidence does not expose a validated
> receiver-side power-detect signal distinct from active video presence.
>
> Reported-by: kernel test robot <[email protected]>
> Closes:
> https://lore.kernel.org/oe-kbuild-all/[email protected]/
> Assisted-by: Codex:gpt-5.5
> Signed-off-by: Ben Hoff <[email protected]>
> Signed-off-by: Hans Verkuil <[email protected]>
Patch committed.
Thanks,
Hans Verkuil
MAINTAINERS | 6 +
drivers/media/pci/Kconfig | 1 +
drivers/media/pci/Makefile | 1 +
drivers/media/pci/hws/Kconfig | 11 +
drivers/media/pci/hws/Makefile | 4 +
drivers/media/pci/hws/hws.h | 173 ++++
drivers/media/pci/hws/hws_irq.c | 269 ++++++
drivers/media/pci/hws/hws_irq.h | 10 +
drivers/media/pci/hws/hws_pci.c | 865 ++++++++++++++++++
drivers/media/pci/hws/hws_reg.h | 136 +++
drivers/media/pci/hws/hws_v4l2_ioctl.c | 919 ++++++++++++++++++++
drivers/media/pci/hws/hws_v4l2_ioctl.h | 36 +
drivers/media/pci/hws/hws_video.c | 1490 ++++++++++++++++++++++++++++++++
drivers/media/pci/hws/hws_video.h | 29 +
14 files changed, 3950 insertions(+)
---
NOTE: diff discarded since email is too big. Use:
git diff
ba07fd2f5742e8b0d965003b34c7a44eb4f67e53~1..ba07fd2f5742e8b0d965003b34c7a44eb4f67e53
To check the changes
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]