[Intel-gfx] [PATCH 11/15] drm/i915/execlists: Force preemption via reset on timeout
Chris Wilson
chris at chris-wilson.co.uk
Wed Mar 28 21:26:39 UTC 2018
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(&pt_to_request(pt)->submit))
> - __submit_queue(engine, prio);
> + __submit_queue(engine, prio, 0);
I forgot I had another fix planned here to only look for preemption if
prio > READ_ONCE(engine->execlists.current_priority).
Remind me.
-Chris
More information about the Intel-gfx
mailing list