]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Tweak virtual unsubmission
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 13 Oct 2019 20:30:12 +0000 (21:30 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 14 Oct 2019 11:51:17 +0000 (12:51 +0100)
commit89b6d1831d21554a5737a201b78a6ad6c5517b46
tree233e2f80aa057c773739c1ca86ed5ba006463095
parent9506c23dfaf5980ab1eb33e26968bcf9b2269bb5
drm/i915/execlists: Tweak virtual unsubmission

Since commit e2144503bf3b ("drm/i915: Prevent bonded requests from
overtaking each other on preemption") we have restricted requests to run
on their chosen engine across preemption events. We can take this
restriction into account to know that we will want to resubmit those
requests onto the same physical engine, and so can shortcircuit the
virtual engine selection process and keep the request on the same
engine during unwind.

References: e2144503bf3b ("drm/i915: Prevent bonded requests from overtaking each other on preemption")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Ramlingam C <ramalingam.c@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191013203012.25208-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/i915_request.c