]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Flush the requests after wedging on suspend
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 18 Nov 2019 23:02:50 +0000 (23:02 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Nov 2019 17:19:25 +0000 (17:19 +0000)
commit5f7978b29bb03b9169600a451bdeb7f0eda8c32e
tree81c41f7cd72f7171c4bc9b5c79528db52493a170
parent7b922b7a0f1d3f7afd0687fbc061ad441630965c
drm/i915/gt: Flush the requests after wedging on suspend

Retire all requests if we resort to wedged the driver on suspend. They
will now be idle, so we might as we free them before shutting down.

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