Re: [Intel-gfx] [PATCH 1/3] drm/i915: Only spin whilst waiting on the current request

2015-11-19 Thread Tvrtko Ursulin
Hi, On 18/11/15 09:56, Chris Wilson wrote: Limit busywaiting only to the request currently being processed by the GPU. If the request is not currently being processed by the GPU, there is a very low likelihood of it being completed within the 2 microsecond spin timeout and so we will just be

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Only spin whilst waiting on the current request

2015-11-19 Thread Chris Wilson
On Thu, Nov 19, 2015 at 10:05:39AM +, Tvrtko Ursulin wrote: > > Hi, > > On 18/11/15 09:56, Chris Wilson wrote: > >Limit busywaiting only to the request currently being processed by the > >GPU. If the request is not currently being processed by the GPU, there > >is a very low likelihood of it

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Only spin whilst waiting on the current request

2015-11-18 Thread Daniel Vetter
On Wed, Nov 18, 2015 at 09:56:06AM +, Chris Wilson wrote: > Limit busywaiting only to the request currently being processed by the > GPU. If the request is not currently being processed by the GPU, there > is a very low likelihood of it being completed within the 2 microsecond > spin timeout

[Intel-gfx] [PATCH 1/3] drm/i915: Only spin whilst waiting on the current request

2015-11-18 Thread Chris Wilson
Limit busywaiting only to the request currently being processed by the GPU. If the request is not currently being processed by the GPU, there is a very low likelihood of it being completed within the 2 microsecond spin timeout and so we will just be wasting CPU cycles. Signed-off-by: Chris Wilson