[PATCH 3/6] suspend-gt-for-hibernate

Chris Wilson chris at chris-wilson.co.uk
Wed Feb 10 21:02:25 UTC 2021


From: Chris Wilson <ickle at chromebox.alporthouse.com>

---
 drivers/gpu/drm/i915/gem/i915_gem_pm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_pm.c b/drivers/gpu/drm/i915/gem/i915_gem_pm.c
index 000e1cd8e920..da0ef483ad6b 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_pm.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_pm.c
@@ -115,6 +115,8 @@ int i915_gem_freeze_late(struct drm_i915_private *i915)
 	 * the objects as well, see i915_gem_freeze()
 	 */
 
+	intel_gt_suspend_late(&i915->gt);
+
 	with_intel_runtime_pm(&i915->runtime_pm, wakeref)
 		i915_gem_shrink(i915, -1UL, NULL, ~0);
 	i915_gem_drain_freed_objects(i915);
-- 
2.20.1



More information about the Intel-gfx-trybot mailing list