Re: [Intel-gfx] [PATCH] drm/i915: Check for timeout completion when waiting for the rq to submitted

2017-02-15 Thread Chris Wilson
On Wed, Feb 15, 2017 at 02:54:40PM +0200, Joonas Lahtinen wrote: > On ke, 2017-02-08 at 16:54 +, Chris Wilson wrote: > > We first wait for a request to be submitted to hw and assigned a seqno, > > before we can wait for the hw to signal completion (otherwise we don't > > know the hw id we need

Re: [Intel-gfx] [PATCH] drm/i915: Check for timeout completion when waiting for the rq to submitted

2017-02-15 Thread Joonas Lahtinen
On ke, 2017-02-08 at 16:54 +, Chris Wilson wrote: > We first wait for a request to be submitted to hw and assigned a seqno, > before we can wait for the hw to signal completion (otherwise we don't > know the hw id we need to wait upon). Whilst waiting for the request to > be submitted, we may

Re: [Intel-gfx] [PATCH] drm/i915: Check for timeout completion when waiting for the rq to submitted

2017-02-08 Thread Chris Wilson
On Wed, Feb 08, 2017 at 06:08:43PM +, Tvrtko Ursulin wrote: > > On 08/02/2017 17:54, Chris Wilson wrote: > >On Wed, Feb 08, 2017 at 05:28:39PM +, Tvrtko Ursulin wrote: > >> > >>On 08/02/2017 16:54, Chris Wilson wrote: > >>>We first wait for a request to be submitted to hw and assigned a

Re: [Intel-gfx] [PATCH] drm/i915: Check for timeout completion when waiting for the rq to submitted

2017-02-08 Thread Tvrtko Ursulin
On 08/02/2017 17:54, Chris Wilson wrote: On Wed, Feb 08, 2017 at 05:28:39PM +, Tvrtko Ursulin wrote: On 08/02/2017 16:54, Chris Wilson wrote: We first wait for a request to be submitted to hw and assigned a seqno, before we can wait for the hw to signal completion (otherwise we don't

Re: [Intel-gfx] [PATCH] drm/i915: Check for timeout completion when waiting for the rq to submitted

2017-02-08 Thread Chris Wilson
On Wed, Feb 08, 2017 at 05:28:39PM +, Tvrtko Ursulin wrote: > > On 08/02/2017 16:54, Chris Wilson wrote: > >We first wait for a request to be submitted to hw and assigned a seqno, > >before we can wait for the hw to signal completion (otherwise we don't > >know the hw id we need to wait

Re: [Intel-gfx] [PATCH] drm/i915: Check for timeout completion when waiting for the rq to submitted

2017-02-08 Thread Tvrtko Ursulin
On 08/02/2017 16:54, Chris Wilson wrote: We first wait for a request to be submitted to hw and assigned a seqno, before we can wait for the hw to signal completion (otherwise we don't know the hw id we need to wait upon). Whilst waiting for the request to be submitted, we may exceed the user's