Re: [Intel-gfx] [PATCH 11/15] drm/i915/execlists: Force preemption via reset on timeout

2018-03-28 Thread Chris Wilson
Quoting Chris Wilson (2018-03-28 22:18:53) > @@ -1221,7 +1287,7 @@ static void execlists_schedule(struct i915_request > *request, int prio) > > if (prio > engine->execlists.queue_priority && > i915_sw_fence_done(_to_request(pt)->submit)) > -

[Intel-gfx] [PATCH 11/15] drm/i915/execlists: Force preemption via reset on timeout

2018-03-28 Thread Chris Wilson
Install a timer when trying to preempt on behalf of an important context such that if the active context does not honour the preemption request within the desired timeout, then we reset the GPU to allow the important context to run. v2: Install the timer on scheduling the preempt request; long