OSDN Git Service

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)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 1 Nov 2019 14:47:36 +0000 (14:47 +0000)
commit9ab3fe2d7dc39b088591b0121f041cbfd6bb1ef8
tree0970353ea82d90aac9c6f7cd9b6927062933733a
parentc8f6cfc56fc86999725e71a19d91269482bd2c01
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
drivers/gpu/drm/i915/gem/i915_gem_pm.c
drivers/gpu/drm/i915/gt/intel_gt_pm.c