Linux Media Controller development
 help / color / mirror / Atom feed
  • * [PATCH v2 0/2] media: pci: add AVMatrix HWS capture driver
           [not found] <20260112022420.390854-1-hoff.benjamin.k@gmail.com>
           [not found] ` <CAMSzxxScAW+sR6OzXt4NxOFx=Q0LDFko9d_xY4zoROYOZMzzdA@mail.gmail.com>
    @ 2026-03-18  0:10 ` Ben Hoff
      2026-03-18  0:10   ` [PATCH v2 1/2] " Ben Hoff
                         ` (3 more replies)
      1 sibling, 4 replies; 19+ messages in thread
    From: Ben Hoff @ 2026-03-18  0:10 UTC (permalink / raw)
      To: linux-media; +Cc: Mauro Carvalho Chehab, Hans Verkuil, linux-kernel, Ben Hoff
    
    Add an AVMatrix HWS PCIe capture driver and its MAINTAINERS entry.
    
    The driver exposes one V4L2 capture node per input channel, supports
    YUYV capture through vb2-dma-contig, reports DV timings, emits
    SOURCE_CHANGE events, and provides the basic brightness/contrast/
    saturation/hue controls used by the hardware.
    
    Changes in v2:
    - keep scratch DMA allocation on a single probe-owned path
    - fix hws_video_register()/probe unwind ownership to avoid control-handler
      double-free on late registration failures
    - on live input resolution changes, emit SOURCE_CHANGE, error queued
      buffers, and require userspace to renegotiate buffers and restart
      streaming
    - add enum_frameintervals and report DV_RX_POWER_PRESENT, addressing the
      two v1 v4l2-compliance warnings
    
    Testing for v2:
    - build-tested with W=1:
      make -C /home/hoff/swdev/linux O=/tmp/hws-build \
        M=drivers/media/pci/hws W=1 KBUILD_MODPOST_WARN=1 modules
    - checkpatch.pl --no-tree --strict --file ... is clean for the new files
    
    Context carried forward from v1:
    - audio support remains intentionally omitted from this submission
    - the driver is derived from a GPL out-of-tree driver; the baseline tree is
      available at https://github.com/benhoff/hws/tree/baseline
    - a vendor driver bundle is available at
      https://www.acasis.com/pages/acasis-product-drivers
    - the vendor is not involved in this upstreaming effort
    
    Ben Hoff (2):
      media: pci: add AVMatrix HWS capture driver
      MAINTAINERS: add entry for AVMatrix HWS driver
    
     MAINTAINERS                            |    6 +
     drivers/media/pci/Kconfig              |    1 +
     drivers/media/pci/Makefile             |    1 +
     drivers/media/pci/hws/Kconfig          |   12 +
     drivers/media/pci/hws/Makefile         |    4 +
     drivers/media/pci/hws/hws.h            |  176 +++
     drivers/media/pci/hws/hws_irq.c        |  271 +++++
     drivers/media/pci/hws/hws_irq.h        |   10 +
     drivers/media/pci/hws/hws_pci.c        |  864 +++++++++++++
     drivers/media/pci/hws/hws_reg.h        |  144 +++
     drivers/media/pci/hws/hws_v4l2_ioctl.c |  778 ++++++++++++
     drivers/media/pci/hws/hws_v4l2_ioctl.h |   43 +
     drivers/media/pci/hws/hws_video.c      | 1546 ++++++++++++++++++++++++
     drivers/media/pci/hws/hws_video.h      |   29 +
     14 files changed, 3885 insertions(+)
     create mode 100644 drivers/media/pci/hws/Kconfig
     create mode 100644 drivers/media/pci/hws/Makefile
     create mode 100644 drivers/media/pci/hws/hws.h
     create mode 100644 drivers/media/pci/hws/hws_irq.c
     create mode 100644 drivers/media/pci/hws/hws_irq.h
     create mode 100644 drivers/media/pci/hws/hws_pci.c
     create mode 100644 drivers/media/pci/hws/hws_reg.h
     create mode 100644 drivers/media/pci/hws/hws_v4l2_ioctl.c
     create mode 100644 drivers/media/pci/hws/hws_v4l2_ioctl.h
     create mode 100644 drivers/media/pci/hws/hws_video.c
     create mode 100644 drivers/media/pci/hws/hws_video.h
    
    
    base-commit: f0caa1d49cc07b30a7e2f104d3853ec6dc1c3cad
    -- 
    2.53.0
    
    ^ permalink raw reply	[flat|nested] 19+ messages in thread

  • end of thread, other threads:[~2026-05-11  0:09 UTC | newest]
    
    Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <20260112022420.390854-1-hoff.benjamin.k@gmail.com>
         [not found] ` <CAMSzxxScAW+sR6OzXt4NxOFx=Q0LDFko9d_xY4zoROYOZMzzdA@mail.gmail.com>
         [not found]   ` <12a06e89-eb67-4be7-8b0a-9ea71ab4cf7c@kernel.org>
         [not found]     ` <dcbdb336-3598-42d1-af23-bdfccc3210bf@kernel.org>
    2026-03-17 16:01       ` [PATCH v1 0/2] media: pci: AVMatrix HWS capture driver Hans Verkuil
    2026-03-18  0:23         ` Ben Hoff
    2026-03-18  0:10 ` [PATCH v2 0/2] media: pci: add " Ben Hoff
    2026-03-18  0:10   ` [PATCH v2 1/2] " Ben Hoff
    2026-03-24  9:17     ` Hans Verkuil
    2026-03-18  0:10   ` [PATCH v2 2/2] MAINTAINERS: add entry for AVMatrix HWS driver Ben Hoff
    2026-03-24  9:19   ` [PATCH v2 0/2] media: pci: add AVMatrix HWS capture driver Hans Verkuil
    2026-03-30 19:56   ` [PATCH v3 " hoff.benjamin.k
    2026-03-30 19:56     ` [PATCH v3 1/2] " hoff.benjamin.k
    2026-03-30 19:56     ` [PATCH v3 2/2] MAINTAINERS: add entry for AVMatrix HWS driver hoff.benjamin.k
    2026-03-30 23:36       ` [PATCH v4] media: pci: add AVMatrix HWS capture driver hoff.benjamin.k
    2026-04-02  6:25         ` kernel test robot
    2026-04-03 13:57         ` [PATCH v5] " hoff.benjamin.k
    2026-04-30 13:26           ` Ben Hoff
    2026-05-05 10:37           ` Hans Verkuil
    2026-05-06 19:43             ` Ben Hoff
    2026-05-07  5:10               ` Hans Verkuil
    2026-05-11  0:09                 ` Ben Hoff
    2026-04-07  3:51         ` [PATCH v4] " kernel test robot
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox