mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] media: rcar-vin: Generate FRAME_SYNC events
@ 2025-06-14 14:15 Niklas Söderlund
  2025-06-14 14:15 ` [PATCH 1/3] media: rcar-vin: Fold interrupt helpers into only callers Niklas Söderlund
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Niklas Söderlund @ 2025-06-14 14:15 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Geert Uytterhoeven, Sakari Ailus,
	Laurent Pinchart, linux-media, linux-renesas-soc, linux-kernel
  Cc: Niklas Söderlund

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.

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


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2025-06-16 18:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-14 14:15 [PATCH 0/3] media: rcar-vin: Generate FRAME_SYNC events Niklas Söderlund
2025-06-14 14:15 ` [PATCH 1/3] media: rcar-vin: Fold interrupt helpers into only callers Niklas Söderlund
2025-06-14 21:23   ` Laurent Pinchart
2025-06-15 12:48     ` Niklas Söderlund
2025-06-16 18:28       ` Laurent Pinchart
2025-06-16  7:02   ` Geert Uytterhoeven
2025-06-14 14:15 ` [PATCH 2/3] media: rcar-vin: Check for correct capture interrupt event Niklas Söderlund
2025-06-14 21:32   ` Laurent Pinchart
2025-06-15 12:47     ` Niklas Söderlund
2025-06-16 18:25       ` Laurent Pinchart
2025-06-14 14:15 ` [PATCH 3/3] media: rcar-vin: Generate FRAME_SYNC events Niklas Söderlund
2025-06-14 21:36   ` Laurent Pinchart

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

all inboxes | Powered by JetHome®