mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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
This commit is contained in:
parent
dcbebb1119
commit
0cdfdf6fa9
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,7 @@ static void wait_for_suspend(struct intel_gt *gt)
|
|||
* the gpu quiet.
|
||||
*/
|
||||
intel_gt_set_wedged(gt);
|
||||
intel_gt_retire_requests(gt);
|
||||
}
|
||||
|
||||
intel_gt_pm_wait_for_idle(gt);
|
||||
|
|
Loading…
Add table
Reference in a new issue