projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcbebb1
)
drm/i915/gt: Flush the requests after wedging on suspend
author
Chris Wilson
<chris@chris-wilson.co.uk>
Mon, 18 Nov 2019 23:02:50 +0000
(23:02 +0000)
committer
Chris Wilson
<chris@chris-wilson.co.uk>
Tue, 19 Nov 2019 17:19:25 +0000
(17:19 +0000)
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
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gt/intel_gt_pm.c
b/drivers/gpu/drm/i915/gt/intel_gt_pm.c
index e61f752a3cd56807d9e4d1c57d00a6951853f14b..470fbdc30e5afca16e37a4ee66a18c988529de72 100644
(file)
--- a/
drivers/gpu/drm/i915/gt/intel_gt_pm.c
+++ b/
drivers/gpu/drm/i915/gt/intel_gt_pm.c
@@
-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);