drm/i915/selftests: Finish pending mock requests on cancellation.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 30 Sep 2020 16:32:52 +0000 (17:32 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 30 Sep 2020 16:59:25 +0000 (17:59 +0100)
commiteb3afbe18eb193a6cbf6541b3876c3fe14ad2a51
treeab4a8fc592e93db4dd6dc650d12c3f1445b474e3
parent5e39b4d94cad76eb6c1b0b7fd0f064a2155d0d0a
drm/i915/selftests: Finish pending mock requests on cancellation.

Flush all the pending requests from the mock engine when they are
cancelled.

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/20200930163253.2789-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/mock_engine.c