Skip to content

Commit d9dace9

Browse files
icklejlahtine-intel
authored andcommitted
drm/i915/selftests: Add intel_gt_suspend_prepare
Call suspend_prepare first so that we don't leave GuC so confused. Signed-off-by: Chris Wilson <[email protected]> Acked-by: Andi Shyti <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 833e979) Signed-off-by: Joonas Lahtinen <[email protected]>
1 parent 3fd850d commit d9dace9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/i915/gt/selftest_gt_pm.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ static int live_gt_resume(void *arg)
1515

1616
/* Do several suspend/resume cycles to check we don't explode! */
1717
do {
18+
intel_gt_suspend_prepare(gt);
1819
intel_gt_suspend_late(gt);
1920

2021
if (gt->rc6.enabled) {

0 commit comments

Comments
 (0)