]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Double check bumping after the spinlock
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Feb 2020 12:36:07 +0000 (12:36 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 20 Feb 2020 13:27:36 +0000 (13:27 +0000)
commit5413cfef4507d6dacbb445018faa934c033ce5a1
tree1cdb46c554ca20841b84eaccee2c8c0833b94471
parentee35bc7683b48c6ec88103ff5fd9673798745c55
drm/i915: Double check bumping after the spinlock

In preparation for making GEM execbuf parallel, we need to be prepared
to handle very early declaration of dependencies -- even before our
signaler has itself been submitted.

References: 0cce13ce95da ("drm/i915: Push the wakeref->count deferral to the backend")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200220123608.1666271-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_scheduler.c