Re: [Intel-gfx] [PATCH] drm/i915: fix wait ioctl with negative timeout

2014-10-21 Thread Daniel Vetter
On Mon, Oct 13, 2014 at 12:40:48AM +0800, Chia-I Wu wrote: > On Sun, Oct 12, 2014 at 1:21 AM, Chia-I Wu wrote: > > > When timeout_ns is negative, it really means to wait indefinitely instead > > of > > returning immediately. But since userspace can no longer rely on that, I > > am > > not sure i

Re: [Intel-gfx] [PATCH] drm/i915: fix wait ioctl with negative timeout

2014-10-12 Thread Chia-I Wu
On Sun, Oct 12, 2014 at 1:21 AM, Chia-I Wu wrote: > When timeout_ns is negative, it really means to wait indefinitely instead > of > returning immediately. But since userspace can no longer rely on that, I > am > not sure if there is any point fixing it. > Note that userspace may use GL_TIMEOUT_

[Intel-gfx] [PATCH] drm/i915: fix wait ioctl with negative timeout

2014-10-11 Thread Chia-I Wu
When timeout_ns is negative, it really means to wait indefinitely instead of returning immediately. But since userspace can no longer rely on that, I am not sure if there is any point fixing it. Signed-off-by: Chia-I Wu --- drivers/gpu/drm/i915/i915_gem.c | 7 --- 1 file changed, 4 insertio