Re: [Intel-gfx] [PATCH 02/13] drm/i915: Don't need a timer to wake us up

2016-01-11 Thread Daniel Vetter
On Fri, Jan 08, 2016 at 11:29:41AM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Looks like the sleeping loop in __i915_wait_request can be > simplified by using io_schedule_timeout instead of setting > up and destroying a timer. > > Signed-off-by: Tvrtko Ursulin > Cc: Chris Wilson

[Intel-gfx] [PATCH 02/13] drm/i915: Don't need a timer to wake us up

2016-01-08 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Looks like the sleeping loop in __i915_wait_request can be simplified by using io_schedule_timeout instead of setting up and destroying a timer. Signed-off-by: Tvrtko Ursulin Cc: Chris Wilson --- drivers/gpu/drm/i915/i915_gem.c | 28 1 file ch