drm/i915/execlists: Drop redundant list_del_init(&rq->sched.link)
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 23 Sep 2019 11:00:54 +0000 (12:00 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 9 Oct 2019 20:16:37 +0000 (13:16 -0700)
commit6535a4b34ed9e566eca4008a26dae94699f3afce
treeeb29b8a2ea0fa5de9b2ed4c4d7dd05161b9798e6
parenta8064d577dab1a81222a50c2de66a2de495f14f4
drm/i915/execlists: Drop redundant list_del_init(&rq->sched.link)

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