Re: [Intel-gfx] [PATCH 1/5] drm/i915: timeout parameter for seqno wait

2012-05-02 Thread Ben Widawsky
On Wed, 2 May 2012 23:47:35 +0200 Daniel Vetter wrote: > On Mon, Apr 30, 2012 at 06:39:58PM -0700, Ben Widawsky wrote: > > Insert a wait parameter in the code so we can possibly timeout on a > > seqno wait if need be. The code should be functionally the same as > > before because all the callers

Re: [Intel-gfx] [PATCH 1/5] drm/i915: timeout parameter for seqno wait

2012-05-02 Thread Daniel Vetter
On Mon, Apr 30, 2012 at 06:39:58PM -0700, Ben Widawsky wrote: > Insert a wait parameter in the code so we can possibly timeout on a > seqno wait if need be. The code should be functionally the same as > before because all the callers will continue to retry if an arbitrary > timeout elapses. > > We

[Intel-gfx] [PATCH 1/5] drm/i915: timeout parameter for seqno wait

2012-04-30 Thread Ben Widawsky
Insert a wait parameter in the code so we can possibly timeout on a seqno wait if need be. The code should be functionally the same as before because all the callers will continue to retry if an arbitrary timeout elapses. We'd like to have nanosecond granularity, but the only way to do this is wit