]> 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)
commite9b8a2d79223656e8211efd462da0d9c5591f0a0
tree99384c294a2d43a7a28cfeaabbade11fa952b4de
parentfce20d0fd804f6d65a5ede8f42ee66fac53e10b9
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