Re: [PATCH 2/3] drm: Skip the waitqueue setup for vblank queries

2017-03-16 Thread Daniel Vetter
On Wed, Mar 15, 2017 at 08:40:26PM +, Chris Wilson wrote: > Avoid adding to the waitqueue and reprobing the current vblank if the > caller is only querying the current vblank sequence and timestamp, where > we know that the wait would return immediately. > > v2: Add CRTC identifier to debug me

[PATCH 2/3] drm: Skip the waitqueue setup for vblank queries

2017-03-15 Thread Chris Wilson
Avoid adding to the waitqueue and reprobing the current vblank if the caller is only querying the current vblank sequence and timestamp, where we know that the wait would return immediately. v2: Add CRTC identifier to debug messages Signed-off-by: Chris Wilson Cc: Ville Syrjälä Cc: Daniel Vette

[PATCH 2/3] drm: Skip the waitqueue setup for vblank queries

2016-01-06 Thread Chris Wilson
Avoid adding to the waitqueue and reprobing the current vblank if the caller is only querying the current vblank sequence and timestamp, where we know that the wait would return immediately. v2: Add CRTC identifier to debug messages Signed-off-by: Chris Wilson Cc: Ville Syrjälä Cc: Daniel Vet