From: Chris Wilson Date: Sun, 3 Nov 2019 09:50:38 +0000 (+0000) Subject: drm/i915/gt: Drop false assertion on user_forcewake X-Git-Tag: v5.10.7~1861^2~24^2~1843 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83c55ee82f3ac5a1c36dab9f7150554c4da773a8;p=platform%2Fkernel%2Flinux-rpi.git 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 Acked-by: Andi Shyti Reviewed-by: Mika Kuoppala Link: https://patchwork.freedesktop.org/patch/msgid/20191104090158.2959-1-chris@chris-wilson.co.uk --- diff --git a/drivers/gpu/drm/i915/gt/intel_gt_pm.c b/drivers/gpu/drm/i915/gt/intel_gt_pm.c index 6374744..060a27d 100644 --- a/drivers/gpu/drm/i915/gt/intel_gt_pm.c +++ b/drivers/gpu/drm/i915/gt/intel_gt_pm.c @@ -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); }