]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Drop false assertion on user_forcewake
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 3 Nov 2019 09:50:38 +0000 (09:50 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Nov 2019 09:40:25 +0000 (09:40 +0000)
commit83c55ee82f3ac5a1c36dab9f7150554c4da773a8
tree7d2ae9d2b45b94bd0f62c817bb3896a7874b0735
parent38098750719cb5f3f8bf7587ed5ba2f7a0b4dd87
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
drivers/gpu/drm/i915/gt/intel_gt_pm.c