]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/execlists: Select arb on/off around batches based on preemption
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 Dec 2019 15:13:31 +0000 (15:13 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Dec 2019 12:00:34 +0000 (12:00 +0000)
commit638d64d0fc32a18e5bbfbfc2a4a7cfcebe893bb0
tree9bada02926050fedb414b18e9fc8d4b1c5f4aed2
parentc4ecfd3221538c1f468bec32f65a966a1307f34b
drm/i915/execlists: Select arb on/off around batches based on preemption

Decide whether or not we need to disable arbitration within user batches
based on our intel_engine_has_preemption() flag.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213151331.1788371-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c