[RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-23 Thread Imre Deak
On Tue, 2012-10-09 at 01:00 +0200, Mario Kleiner wrote: > On 08.10.12 13:35, Imre Deak wrote: > > On Sat, 2012-10-06 at 03:41 +0200, Mario Kleiner wrote: > >> [...] > >> > >> But then Psychtoolbox checks each timestamp it gets from somewhere > >> "outside" (OML_sync_control / INTEL_swap_events /

Re: [RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-23 Thread Imre Deak
On Tue, 2012-10-09 at 01:00 +0200, Mario Kleiner wrote: On 08.10.12 13:35, Imre Deak wrote: On Sat, 2012-10-06 at 03:41 +0200, Mario Kleiner wrote: [...] But then Psychtoolbox checks each timestamp it gets from somewhere outside (OML_sync_control / INTEL_swap_events / ALSA audio

[RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-09 Thread Imre Deak
On Fri, 2012-10-05 at 12:14 -0400, Kristian H?gsberg wrote: > On Fri, Oct 5, 2012 at 9:36 AM, Imre Deak wrote: > > Needed by the upcoming DRM raw monotonic timestamp support. > > I just had a quick look at driver/input/evdev.c, since evdev devices > did a similar change recently to allow evdev

[RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-09 Thread Mario Kleiner
On 08.10.12 13:35, Imre Deak wrote: > On Sat, 2012-10-06 at 03:41 +0200, Mario Kleiner wrote: >> [...] >> >> But then Psychtoolbox checks each timestamp it gets from somewhere >> "outside" (OML_sync_control / INTEL_swap_events / ALSA audio timestamps, >> network receive timestamps, evdev, x11,

Re: [RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-09 Thread Imre Deak
On Fri, 2012-10-05 at 12:14 -0400, Kristian Høgsberg wrote: On Fri, Oct 5, 2012 at 9:36 AM, Imre Deak imre.d...@intel.com wrote: Needed by the upcoming DRM raw monotonic timestamp support. I just had a quick look at driver/input/evdev.c, since evdev devices did a similar change recently to

[RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-08 Thread Imre Deak
On Sat, 2012-10-06 at 03:41 +0200, Mario Kleiner wrote: > [...] > > But then Psychtoolbox checks each timestamp it gets from somewhere > "outside" (OML_sync_control / INTEL_swap_events / ALSA audio timestamps, > network receive timestamps, evdev, x11, ...) if it is in gettimeofday() > aka

Re: [RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-08 Thread Imre Deak
On Sat, 2012-10-06 at 03:41 +0200, Mario Kleiner wrote: [...] But then Psychtoolbox checks each timestamp it gets from somewhere outside (OML_sync_control / INTEL_swap_events / ALSA audio timestamps, network receive timestamps, evdev, x11, ...) if it is in gettimeofday() aka

Re: [RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-08 Thread Mario Kleiner
On 08.10.12 13:35, Imre Deak wrote: On Sat, 2012-10-06 at 03:41 +0200, Mario Kleiner wrote: [...] But then Psychtoolbox checks each timestamp it gets from somewhere outside (OML_sync_control / INTEL_swap_events / ALSA audio timestamps, network receive timestamps, evdev, x11, ...) if it is in

[RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-06 Thread Mario Kleiner
> Subject: Re: [RFC 4/4] drm: add support for raw monotonic vblank > timestamps > Message-ID: <1349446447.17758.73.camel at thor.local> > Content-Type: text/plain; charset="ISO-8859-1" > > On Fre, 2012-10-05 at 16:59 +0300, Imre Deak wrote: >> On Fri, 2012-10-05 at 15:55 +0200, Michel

[RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-05 Thread Imre Deak
Needed by the upcoming DRM raw monotonic timestamp support. Signed-off-by: Imre Deak --- kernel/time/timekeeping.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index d3b91e7..073d262 100644 ---

[RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-05 Thread Kristian Høgsberg
On Fri, Oct 5, 2012 at 9:36 AM, Imre Deak wrote: > Needed by the upcoming DRM raw monotonic timestamp support. I just had a quick look at driver/input/evdev.c, since evdev devices did a similar change recently to allow evdev timestamp from the monotonic clock. They're using a different time

[RFC 1/4] time: export getnstime_raw_and_real for DRM

2012-10-05 Thread Imre Deak
Needed by the upcoming DRM raw monotonic timestamp support. Signed-off-by: Imre Deak imre.d...@intel.com --- kernel/time/timekeeping.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c index d3b91e7..073d262 100644 ---