[PATCH v2 0/3] media: rcar-vin: Generate FRAME_SYNC events

Niklas Söderlund posted 3 patches 3 months, 3 weeks ago
.../platform/renesas/rcar-vin/rcar-dma.c      | 54 ++++++++++---------
.../platform/renesas/rcar-vin/rcar-v4l2.c     |  2 +
2 files changed, 32 insertions(+), 24 deletions(-)
[PATCH v2 0/3] media: rcar-vin: Generate FRAME_SYNC events
Posted by Niklas Söderlund 3 months, 3 weeks ago
Hi,

This series extend the VIN interrupt handling to be able to generate
FRAME_SYNC events. Having these events in user-space is a great help to
know when a sensor starts to expose a new frame.

Patch 1/3 and 2/3 prepays the existing interrupt infrastructure to
support more then "frame captured" interrupts. While patch 3/3 enables
and checks for VSYNC detection and generates the new event.

The feature is tested on Gen2, Gen3 and Gen4 and all devices correctly
generate FRAME_SYNC events.

See individual patches for changelog.

Niklas Söderlund (3):
  media: rcar-vin: Fold interrupt helpers into only callers
  media: rcar-vin: Check for correct capture interrupt event
  media: rcar-vin: Generate FRAME_SYNC events

 .../platform/renesas/rcar-vin/rcar-dma.c      | 54 ++++++++++---------
 .../platform/renesas/rcar-vin/rcar-v4l2.c     |  2 +
 2 files changed, 32 insertions(+), 24 deletions(-)

-- 
2.49.0