Re: [Intel-gfx] [PATCH 06/12] drm/i915: Do not lie about atomic wait granularity

2016-02-02 Thread Chris Wilson
On Tue, Feb 02, 2016 at 11:06:24AM +, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > Currently the wait_for_atomic_us only allows for a millisecond > granularity which is not nice towards callers requesting small > micro-second waits. > > Re-implement it so micro-second granularity is real

[Intel-gfx] [PATCH 06/12] drm/i915: Do not lie about atomic wait granularity

2016-02-02 Thread Tvrtko Ursulin
From: Tvrtko Ursulin Currently the wait_for_atomic_us only allows for a millisecond granularity which is not nice towards callers requesting small micro-second waits. Re-implement it so micro-second granularity is really supported and not just in the name of the macro. v2: * Warn when used fr