]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Flush the execution-callbacks on retiring
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Jun 2019 07:41:31 +0000 (08:41 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jun 2019 16:09:25 +0000 (17:09 +0100)
commit2fd38f541a406af82b3f69befb954abc2bbcc646
tree99384c294a2d43a7a28cfeaabbade11fa952b4de
parentf246ee047164501f84917bcab62ef4957bd7ddcd
drm/i915: Flush the execution-callbacks on retiring

In the unlikely case the request completes while we regard it as not even
executing on the GPU (see the next patch!), we have to flush any pending
execution callbacks at retirement and ensure that we do not add any
more.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190618074153.16055-4-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_request.c