OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8064d5
)
drm/i915/execlists: Drop redundant list_del_init(&rq->sched.link)
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 23 Sep 2019 11:00:54 +0000
(12:00 +0100)
committer
Rodrigo Vivi
<rodrigo.vivi@intel.com>
Wed, 9 Oct 2019 20:16:37 +0000
(13:16 -0700)
Since amalgamating the queued and active lists in commit
422d7df4f090
("drm/i915: Replace engine->timeline with a plain list"), performing a
i915_request_submit() will remove the request from the execlists
priority queue.
References:
422d7df4f090
("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
(cherry picked from commit
3231f8c01121ee1febfd82398ee22f7ff9dc5d76
)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/gt/intel_lrc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gt/intel_lrc.c
b/drivers/gpu/drm/i915/gt/intel_lrc.c
index
97d4f5c
..
21f06d5
100644
(file)
--- a/
drivers/gpu/drm/i915/gt/intel_lrc.c
+++ b/
drivers/gpu/drm/i915/gt/intel_lrc.c
@@
-2564,7
+2564,6
@@
static void execlists_cancel_requests(struct intel_engine_cs *engine)
int i;
priolist_for_each_request_consume(rq, rn, p, i) {
- list_del_init(&rq->sched.link);
__i915_request_submit(rq);
dma_fence_set_error(&rq->fence, -EIO);
i915_request_mark_complete(rq);