[Intel-gfx] [PATCH] drm/i915: Don't need a timer to wake us up
Chris Wilson
chris at chris-wilson.co.uk
Thu Nov 26 09:55:39 PST 2015
On Thu, Nov 26, 2015 at 05:15:46PM +0000, Tvrtko Ursulin wrote:
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
>
> 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.
Simplified by duplicating code? I liked the explicit handling for its
obviousness and simplicity.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list