public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Kamil Debski <k.debski@samsung.com>
To: 'Sakari Ailus' <sakari.ailus@iki.fi>
Cc: linux-media@vger.kernel.org, arun.kk@samsung.com,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	mchehab@redhat.com, laurent.pinchart@ideasonboard.com,
	hans.verkuil@cisco.com, kyungmin.park@samsung.com,
	pawel@osciak.com, 'Marek Szyprowski' <m.szyprowski@samsung.com>
Subject: RE: [PATCH 3/3] v4l: Set proper timestamp type in selected drivers which use videobuf2
Date: Tue, 22 Jan 2013 10:43:28 +0100	[thread overview]
Message-ID: <032601cdf884$f27f8f70$d77eae50$%debski@samsung.com> (raw)
In-Reply-To: <20130119174329.GL13641@valkosipuli.retiisi.org.uk>

Hi,

One more comment. Also adding videobuf2 maintainers to CC, as they were not
added in the patch "v4l: Tell user space we're using monotonic timestamps".

> From: Sakari Ailus [mailto:sakari.ailus@iki.fi]
> Sent: Saturday, January 19, 2013 6:43 PM
> 
> Hi Kamil,
> 
> Thanks for the patch.
> 
> On Mon, Jan 14, 2013 at 10:36:04AM +0100, Kamil Debski wrote:
> > Set proper timestamp type in drivers that I am sure that use either
> > MONOTONIC or COPY timestamps. Other drivers will correctly report
> > UNKNOWN timestamp type instead of assuming that all drivers use
> > monotonic timestamps.
> 
> What other kind of timestamps there can be? All drivers (at least those
> not
> mem-to-mem) that do obtain timestamps using system clock use monotonic
> ones.
> 
> I'd think that there should no longer be any drivers using the UNKNOWN
> timestamp type: UNKNOWN is either from monotonic or realtime clock, and
> we just replaced all of them with the monotonic ones. No driver uses
> realtime timestamps anymore.
> 
> How about making MONOTONIC timestamps default instead, or at least
> assigning all drivers something else than UNKNOWN?

In addition to my previous comment - making MONOTONIC default in videobuf2
would be inconsistent. For non videobuf2 drivers the default is UNKNOWN, so
making
MONOTONIC default for videobuf2 drivers is, in my opinion, wrong.

Best wishes,
Kamil Debski



      parent reply	other threads:[~2013-01-22  9:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-14  9:36 [PATCH/RFC 0/3] Add proper timestamp types handling in videobuf2 Kamil Debski
2013-01-14  9:36 ` [PATCH 1/3] v4l: Define video buffer flag for the COPY timestamp type Kamil Debski
2013-01-14  9:36 ` [PATCH 2/3] vb2: Add support for non monotonic timestamps Kamil Debski
2013-01-14  9:36 ` [PATCH 3/3] v4l: Set proper timestamp type in selected drivers which use videobuf2 Kamil Debski
2013-01-19 17:43   ` Sakari Ailus
2013-01-21 14:07     ` Kamil Debski
2013-01-22 10:03       ` 'Sakari Ailus'
2013-01-22 10:24         ` Kamil Debski
2013-01-23  0:25           ` Laurent Pinchart
2013-01-23  8:46             ` Kamil Debski
2013-01-24  1:10               ` Laurent Pinchart
2013-01-22 10:35         ` Hans Verkuil
2013-01-22 17:57           ` Kamil Debski
2013-01-22 10:37       ` Sylwester Nawrocki
2013-01-22 17:58         ` Kamil Debski
2013-01-22 18:44           ` 'Sakari Ailus'
2013-01-23  8:47             ` Kamil Debski
2013-01-23  9:03               ` Hans Verkuil
2013-01-23 13:55                 ` 'Sakari Ailus'
2013-01-23 14:50                   ` Kamil Debski
2013-01-22  9:43     ` Kamil Debski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='032601cdf884$f27f8f70$d77eae50$%debski@samsung.com' \
    --to=k.debski@samsung.com \
    --cc=arun.kk@samsung.com \
    --cc=hans.verkuil@cisco.com \
    --cc=kyungmin.park@samsung.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=mchehab@redhat.com \
    --cc=pawel@osciak.com \
    --cc=s.nawrocki@samsung.com \
    --cc=sakari.ailus@iki.fi \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox