Skip to content

Commit 3fd850d

Browse files
icklejlahtine-intel
authored andcommitted
drm/i915/gt: Drop false assertion on user_forcewake
The counter is removed from the pm wakeref count, but it remains intact so that we can restore it upon resume. Ergo inside suspend, it may have a value. Signed-off-by: Chris Wilson <[email protected]> Acked-by: Andi Shyti <[email protected]> Reviewed-by: Mika Kuoppala <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit 83c55ee) Signed-off-by: Joonas Lahtinen <[email protected]>
1 parent a70a9e9 commit 3fd850d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ static void wait_for_suspend(struct intel_gt *gt)
251251
intel_gt_set_wedged(gt);
252252
}
253253

254-
GEM_BUG_ON(atomic_read(&gt->user_wakeref));
255254
intel_gt_pm_wait_for_idle(gt);
256255
}
257256

0 commit comments

Comments
 (0)