]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Push the use-semaphore marker onto the intel_context
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Dec 2019 10:12:30 +0000 (10:12 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 20 Dec 2019 10:57:10 +0000 (10:57 +0000)
commitc4ecfd3221538c1f468bec32f65a966a1307f34b
tree5188d6972f15600b8381569b9442a18363aab35e
parent11bf149b19be0ebc582b9d270c30cf70e26d5e5d
drm/i915: Push the use-semaphore marker onto the intel_context

Instead of rummaging through the intel_context to peek at the GEM
context in the middle of request submission to decide whether to use
semaphores, store that information on the intel_context itself.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Andi Shyti <andi.shyti@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191220101230.256839-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_context.c
drivers/gpu/drm/i915/gt/intel_context.c
drivers/gpu/drm/i915/gt/intel_context.h
drivers/gpu/drm/i915/gt/intel_context_types.h
drivers/gpu/drm/i915/i915_request.c