drm/i915/gt: Move user_forcewake application to GT
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Nov 2019 14:10:08 +0000 (14:10 +0000)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 5 Nov 2019 14:05:25 +0000 (16:05 +0200)
commitd4033a9b03d8df375bca65290e9419c14392ddd0
tree9ff367630328f5646e71d237c9d8962d424c30ec
parent489d1953c12ea4e7b36f20219fb2a6b1896c1f80
drm/i915/gt: Move user_forcewake application to GT

We already track the debugfs user_forcewake on the GT, so it is natural
to pull the suspend/resume handling under gt/ as well.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191101141009.15581-3-chris@chris-wilson.co.uk
(cherry picked from commit 9ab3fe2d7dc39b088591b0121f041cbfd6bb1ef8)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/gem/i915_gem_pm.c
drivers/gpu/drm/i915/gt/intel_gt_pm.c