Skip to content

RFC Monotonic timestamps

Sakari Ailus linux-media 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4v4l: Define video buffer flags for timestamp typesDocumentation/DocBook/media/v4l/io.xml include/uapi/linux/videodev2.h+29 -01 reply
2/4v4l: Helper function for obtaining timestampsdrivers/media/v4l2-core/v4l2-common.c include/media/v4l2-common.h+12 -00 replies
3/4v4l: Convert drivers to use monotonic timestampsdrivers/media/common/saa7146/saa7146_fops.c drivers/media/pci/bt8xx/bttv-driver.c drivers/media/pci/cx23885/cx23885-core.c +41 more+62 -700 replies
4/4v4l: Tell user space we're using monotonic timestampsdrivers/media/pci/meye/meye.c drivers/media/pci/zoran/zoran_driver.c drivers/media/platform/omap3isp/ispqueue.c +7 more+23 -126 replies

Reviews trailers per patch

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

PatchLaurent Pinchart
1/4A-b
2/4
3/4
4/4

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

Read the v1 thread

Cover letter [RFC 0/4] Monotonic timestamps

Hi all,

Here's my first monotonic timestamps patch (RFC) series. It's quite experimental, not even compile tested, which doesn't matter much at this point anyway.

What the patches do is that they

1. Add new buffer flags for timestamp type, and a mask,
2. convert all the drivers to use monotonic timestamps and
3. tell that all drivers are using monotonic timestamps.

The assumption is that all drivers will use monotonic timestamps, especially the timestamp type is set in videobuf(2) in drivers that use it. This could be changed later on if we wish to make it selectable; in this case videobuf2 would need to be told, and the helper function v4l2_get_timestamp() would need to be put to videobuf2 instead.

This depends on my previous patch "v4l: Correct definition of v4l2_buffer.flags related to cache management".

Comments and questions are very welcome!

Kind regards,

Signature · 2 lines
Sakari Ailus
e-mail: [email protected]	XMPP: [email protected]