From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: dri-devel@lists.freedesktop.org
Cc: "Imre Deak" <imre.deak@intel.com>,
"Daniel Vetter" <daniel.vetter@ffwll.ch>,
"Chris Wilson" <chris@chris-wilson.co.uk>,
"Kristian Høgsberg" <krh@bitplanet.net>,
intel-gfx@lists.freedesktop.org, linux-media@vger.kernel.org,
"Mario Kleiner" <mario.kleiner@tuebingen.mpg.de>
Subject: Re: [RFC 0/4] drm: add raw monotonic timestamp support
Date: Thu, 11 Oct 2012 12:29:03 +0200 [thread overview]
Message-ID: <2461348.VAb9R0RWhW@avalon> (raw)
In-Reply-To: <1349444222-22274-1-git-send-email-imre.deak@intel.com>
(CC'ing linux-media)
On Friday 05 October 2012 16:36:58 Imre Deak wrote:
> This is needed to make applications depending on vblank/page flip
> timestamps independent of time ajdustments.
We're in the process to switching to CLOCK_MONOTONIC timestamps in V4L2. The
reason why we're using CLOCK_MONOTONIC and not CLOCK_MONOTONIC_RAW is that
ALSA uses the former. It would make sense in my opinion to unify timestamps
across our media APIs.
> I've tested these with an updated intel-gpu-test/flip_test and will send
> the update for that once there's no objection about this patchset.
>
> The patchset is based on danvet's dinq branch with the following
> additional patches from the intel-gfx ML applied:
> drm/i915: paper over a pipe-enable vs pageflip race
> drm/i915: don't frob the vblank ts in finish_page_flip
> drm/i915: call drm_handle_vblank before finish_page_flip
>
> Imre Deak (4):
> time: export getnstime_raw_and_real for DRM
> drm: make memset/calloc for _vblank_time more robust
> drm: use raw time in drm_calc_vbltimestamp_from_scanoutpos
> drm: add support for raw monotonic vblank timestamps
>
> drivers/gpu/drm/drm_crtc.c | 2 +
> drivers/gpu/drm/drm_ioctl.c | 3 ++
> drivers/gpu/drm/drm_irq.c | 83 ++++++++++++++------------
> drivers/gpu/drm/i915/i915_irq.c | 2 +-
> drivers/gpu/drm/i915/intel_display.c | 12 ++---
> drivers/gpu/drm/radeon/radeon_display.c | 10 ++--
> drivers/gpu/drm/radeon/radeon_drv.c | 2 +-
> drivers/gpu/drm/radeon/radeon_kms.c | 2 +-
> drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 9 ++--
> include/drm/drm.h | 5 +-
> include/drm/drmP.h | 38 +++++++++++--
> include/drm/drm_mode.h | 4 +-
> kernel/time/timekeeping.c | 2 +-
> 13 files changed, 113 insertions(+), 61 deletions(-)
--
Regards,
Laurent Pinchart
next parent reply other threads:[~2012-10-11 10:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1349444222-22274-1-git-send-email-imre.deak@intel.com>
2012-10-11 10:29 ` Laurent Pinchart [this message]
2012-10-11 11:21 ` [RFC 0/4] drm: add raw monotonic timestamp support Imre Deak
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=2461348.VAb9R0RWhW@avalon \
--to=laurent.pinchart@ideasonboard.com \
--cc=chris@chris-wilson.co.uk \
--cc=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=imre.deak@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=krh@bitplanet.net \
--cc=linux-media@vger.kernel.org \
--cc=mario.kleiner@tuebingen.mpg.de \
/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;
as well as URLs for NNTP newsgroup(s).