]> 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)
commit54738e8ad5a5e5eeab7cc762de022b00bcd9af9f
tree1cdb46c554ca20841b84eaccee2c8c0833b94471
parent66940061a52fba730fdb49e133502e19be684202
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: a79ca656b648 ("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