]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Signal fence completion from i915_request_wait
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jun 2019 11:23:37 +0000 (12:23 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jun 2019 15:45:04 +0000 (16:45 +0100)
commitf246ee047164501f84917bcab62ef4957bd7ddcd
treecffd3fd467c1be22ee4b8545576966ae5bdfa0ad
parent5fcec41b3f889041968a05a82b9fee27ddf01ed9
drm/i915: Signal fence completion from i915_request_wait

With the upcoming change to automanaged i915_active, the intent is that
whenever we wait on the set of active fences, they are signaled and
collected.  The requirement is that all successful returns from
i915_request_wait() signal the fence, so fixup the one remaining path
where we may return before the interrupt has been run.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190619112341.9082-3-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c