drm/i915/execlists: Drop redundant list_del_init(&rq->sched.link)
Since amalgamating the queued and active lists in commit422d7df4f0
("drm/i915: Replace engine->timeline with a plain list"), performing a i915_request_submit() will remove the request from the execlists priority queue. References:422d7df4f0
("drm/i915: Replace engine->timeline with a plain list") Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190923110056.15176-2-chris@chris-wilson.co.uk
This commit is contained in:
parent
ae911b23d2
commit
3231f8c011
|
@ -2514,7 +2514,6 @@ static void execlists_cancel_requests(struct intel_engine_cs *engine)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
priolist_for_each_request_consume(rq, rn, p, i) {
|
priolist_for_each_request_consume(rq, rn, p, i) {
|
||||||
list_del_init(&rq->sched.link);
|
|
||||||
__i915_request_submit(rq);
|
__i915_request_submit(rq);
|
||||||
dma_fence_set_error(&rq->fence, -EIO);
|
dma_fence_set_error(&rq->fence, -EIO);
|
||||||
i915_request_mark_complete(rq);
|
i915_request_mark_complete(rq);
|
||||||
|
|
Loading…
Reference in New Issue