[PATCH 1/1] drm/i915/gt: Disable migration code on suspend
Thomas Hellström
thomas.hellstrom at linux.intel.com
Tue Aug 10 17:40:58 UTC 2021
Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
---
drivers/gpu/drm/i915/gt/intel_gt_pm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/gt/intel_gt_pm.c b/drivers/gpu/drm/i915/gt/intel_gt_pm.c
index dea8e2479897..64c77e5472f8 100644
--- a/drivers/gpu/drm/i915/gt/intel_gt_pm.c
+++ b/drivers/gpu/drm/i915/gt/intel_gt_pm.c
@@ -14,6 +14,7 @@
#include "intel_gt_pm.h"
#include "intel_gt_requests.h"
#include "intel_llc.h"
+#include "intel_migrate.h"
#include "intel_pm.h"
#include "intel_rc6.h"
#include "intel_rps.h"
@@ -261,6 +262,7 @@ int intel_gt_resume(struct intel_gt *gt)
intel_rc6_enable(>->rc6);
intel_uc_resume(>->uc);
+ intel_migrate_init(>->migrate, gt);
user_forcewake(gt, false);
@@ -288,6 +290,7 @@ static void wait_for_suspend(struct intel_gt *gt)
intel_gt_retire_requests(gt);
}
+ intel_migrate_fini(>->migrate);
intel_gt_pm_wait_for_idle(gt);
}
--
2.31.1
More information about the Intel-gfx-trybot
mailing list