提交 3fd850dd 编写于 作者: C Chris Wilson 提交者: Joonas Lahtinen

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: NChris Wilson <chris@chris-wilson.co.uk>
Acked-by: NAndi Shyti <andi.shyti@intel.com>
Reviewed-by: NMika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191104090158.2959-1-chris@chris-wilson.co.uk
(cherry picked from commit 83c55ee8)
Signed-off-by: NJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
上级 a70a9e99
......@@ -251,7 +251,6 @@ static void wait_for_suspend(struct intel_gt *gt)
intel_gt_set_wedged(gt);
}
GEM_BUG_ON(atomic_read(&gt->user_wakeref));
intel_gt_pm_wait_for_idle(gt);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册