[PATCH 2/2] drm: Shortcircuit vblank queries

2015-04-15 Thread Daniel Vetter
On Tue, Apr 14, 2015 at 08:43:12PM +0200, Mario Kleiner wrote: > On 04/05/2015 05:40 PM, Chris Wilson wrote: > >Bypass all the spinlocks and return the last timestamp and counter from > >the last vblank if the driver delcares that it is accurate (and stable > >across on/off), and the vblank is

[PATCH 2/2] drm: Shortcircuit vblank queries

2015-04-14 Thread Mario Kleiner
On 04/05/2015 05:40 PM, Chris Wilson wrote: > Bypass all the spinlocks and return the last timestamp and counter from > the last vblank if the driver delcares that it is accurate (and stable > across on/off), and the vblank is currently enabled. > > Signed-off-by: Chris Wilson > Cc: Ville

[PATCH 2/2] drm: Shortcircuit vblank queries

2015-04-05 Thread Chris Wilson
Bypass all the spinlocks and return the last timestamp and counter from the last vblank if the driver delcares that it is accurate (and stable across on/off), and the vblank is currently enabled. Signed-off-by: Chris Wilson Cc: Ville Syrjälä Cc: Daniel Vetter Cc: Michel Dänzer Cc: Laurent