Skip to content
Snippets Groups Projects
Commit d9dace94 authored by Chris Wilson's avatar Chris Wilson Committed by Joonas Lahtinen
Browse files

drm/i915/selftests: Add intel_gt_suspend_prepare


Call suspend_prepare first so that we don't leave GuC so confused.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Acked-by: default avatarAndi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191101174405.7389-1-chris@chris-wilson.co.uk


(cherry picked from commit 833e979db36c0202f21e1e0bdd7339a27e50b8e3)
Signed-off-by: default avatarJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
parent 3fd850dd
No related branches found
No related tags found
No related merge requests found
...@@ -15,6 +15,7 @@ static int live_gt_resume(void *arg) ...@@ -15,6 +15,7 @@ static int live_gt_resume(void *arg)
/* Do several suspend/resume cycles to check we don't explode! */ /* Do several suspend/resume cycles to check we don't explode! */
do { do {
intel_gt_suspend_prepare(gt);
intel_gt_suspend_late(gt); intel_gt_suspend_late(gt);
if (gt->rc6.enabled) { if (gt->rc6.enabled) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment