]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Make engine's batch pool safe for use with virtual engines
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 27 Aug 2019 13:59:35 +0000 (14:59 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 27 Aug 2019 15:42:12 +0000 (16:42 +0100)
commit959afc5df3a37e5db105851f32e75b982aac34d8
tree7121749e160ffa192e9b452e4967b1d54a7b4d84
parent67639f3f6603d12c66631429dc7ad4b0c8554893
drm/i915: Make engine's batch pool safe for use with virtual engines

A virtual engine itself does not have a batch pool, but we can gleefully
use any of its siblings instead.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190827135935.3831-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
drivers/gpu/drm/i915/gem/i915_gem_object_blt.c
drivers/gpu/drm/i915/gt/intel_engine_pool.c
drivers/gpu/drm/i915/gt/intel_engine_pool.h
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_lrc.h