Skip to content

Commit

Permalink
drm/i915/gt: Drop false assertion on user_forcewake
Browse files Browse the repository at this point in the history
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
(cherry picked from commit 83c55ee)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
  • Loading branch information
Chris Wilson authored and Joonas Lahtinen committed Nov 5, 2019
1 parent a70a9e9 commit 3fd850d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/gpu/drm/i915/gt/intel_gt_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3fd850d

Please sign in to comment.