Re: [PATCH v2] drm: Add high-precision time to vblank trace event

2019-09-23 Thread Heinrich Fink
On Mon, 23 Sep 2019 at 14:06, Daniel Vetter wrote: > > On Sat, Sep 21, 2019 at 10:33 AM Heinrich Fink > wrote: > > > > On Tue, 3 Sep 2019 at 11:53, Daniel Vetter wrote: > > > > > > On Tue, Sep 03, 2019 at 11:19:19AM +0200, Heinrich Fink wrote: > > > > On Tue, 3 Sep 2019 at 09:46, Daniel Vetter

Re: [PATCH v2] drm: Add high-precision time to vblank trace event

2019-09-23 Thread Daniel Vetter
On Sat, Sep 21, 2019 at 10:33 AM Heinrich Fink wrote: > > On Tue, 3 Sep 2019 at 11:53, Daniel Vetter wrote: > > > > On Tue, Sep 03, 2019 at 11:19:19AM +0200, Heinrich Fink wrote: > > > On Tue, 3 Sep 2019 at 09:46, Daniel Vetter wrote: > > > > > > > > On Mon, Sep 02, 2019 at 04:24:12PM +0200, Hei

Re: [PATCH v2] drm: Add high-precision time to vblank trace event

2019-09-22 Thread Heinrich Fink
On Tue, 3 Sep 2019 at 11:53, Daniel Vetter wrote: > > On Tue, Sep 03, 2019 at 11:19:19AM +0200, Heinrich Fink wrote: > > On Tue, 3 Sep 2019 at 09:46, Daniel Vetter wrote: > > > > > > On Mon, Sep 02, 2019 at 04:24:12PM +0200, Heinrich Fink wrote: > > > > Store the timestamp of the current vblank i

Re: [PATCH v2] drm: Add high-precision time to vblank trace event

2019-09-03 Thread Daniel Vetter
On Tue, Sep 03, 2019 at 11:19:19AM +0200, Heinrich Fink wrote: > On Tue, 3 Sep 2019 at 09:46, Daniel Vetter wrote: > > > > On Mon, Sep 02, 2019 at 04:24:12PM +0200, Heinrich Fink wrote: > > > Store the timestamp of the current vblank in the new field 'time' of the > > > vblank trace event. If the

Re: [PATCH v2] drm: Add high-precision time to vblank trace event

2019-09-03 Thread Heinrich Fink
On Tue, 3 Sep 2019 at 09:46, Daniel Vetter wrote: > > On Mon, Sep 02, 2019 at 04:24:12PM +0200, Heinrich Fink wrote: > > Store the timestamp of the current vblank in the new field 'time' of the > > vblank trace event. If the timestamp is calculated by a driver that > > supports high-precision vbla

Re: [PATCH v2] drm: Add high-precision time to vblank trace event

2019-09-03 Thread Daniel Vetter
On Mon, Sep 02, 2019 at 04:24:12PM +0200, Heinrich Fink wrote: > Store the timestamp of the current vblank in the new field 'time' of the > vblank trace event. If the timestamp is calculated by a driver that > supports high-precision vblank timing, set the field 'high-prec' to > 'true'. > > User s

[PATCH v2] drm: Add high-precision time to vblank trace event

2019-09-02 Thread Heinrich Fink
Store the timestamp of the current vblank in the new field 'time' of the vblank trace event. If the timestamp is calculated by a driver that supports high-precision vblank timing, set the field 'high-prec' to 'true'. User space can now access actual hardware vblank times via the tracing infrastruc