drm/i915/gt: Introduce intel_gt_runtime_suspend/resume
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Thu, 1 Aug 2019 00:57:09 +0000 (17:57 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 1 Aug 2019 16:58:54 +0000 (17:58 +0100)
commit9dfe3459ef4152ca4cf66c78cdd1ae5f58aaf2ae
treef86f6d82bd8bc99d6e59a806e4559ef6dfcac4e8
parent6f76098fe0f3f0b519b2ad528b4319195d6d0f73
drm/i915/gt: Introduce intel_gt_runtime_suspend/resume

To be called from the top level runtime functions, to hide the
gt-specific bits (mainly related to intel_uc).

v2: rebased

Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20190801005709.34092-3-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/gt/intel_gt_pm.c
drivers/gpu/drm/i915/gt/intel_gt_pm.h
drivers/gpu/drm/i915/i915_drv.c