mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-11 13:04:03 +08:00
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 <chris@chris-wilson.co.uk> Acked-by: Andi Shyti <andi.shyti@intel.com> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191104090158.2959-1-chris@chris-wilson.co.uk
This commit is contained in:
parent
3809875071
commit
83c55ee82f
@ -251,7 +251,6 @@ static void wait_for_suspend(struct intel_gt *gt)
|
||||
intel_gt_set_wedged(gt);
|
||||
}
|
||||
|
||||
GEM_BUG_ON(atomic_read(>->user_wakeref));
|
||||
intel_gt_pm_wait_for_idle(gt);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user