mbox series

[0/6] Call uC functions from GT ones

Message ID 20190729234727.28286-1-daniele.ceraolospurio@intel.com (mailing list archive)
Headers show
Series Call uC functions from GT ones | expand

Message

Daniele Ceraolo Spurio July 29, 2019, 11:47 p.m. UTC
The plan is to completely hide intel_uc under intel_gt and this series
starts in that direction by moving the init early and suspend/resume
functions.
The _init and init_hw have for now been skipped as they should be
covered when gt_init_hw is introduced; however, the init_hw path has
been simplified a bit by moving the wopcm init call inside the uc one.

Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>

Daniele Ceraolo Spurio (6):
  drm/i915/uc: move uC WOPCM setup in uc_init_hw
  drm/i915: move gt_cleanup_early out of gem_cleanup_early
  drm/i915/uc: move uc early functions inside the gt ones
  drm/i915/gt: introduce intel_gt_runtime_suspend/resume
  drm/i915/uc: move uc_resume under gt_resume
  drm/i915/gt: introduce intel_gt_suspend

 drivers/gpu/drm/i915/gem/i915_gem_pm.c | 11 +---
 drivers/gpu/drm/i915/gt/intel_gt.c     |  2 +
 drivers/gpu/drm/i915/gt/intel_gt_pm.c  | 28 ++++++++++
 drivers/gpu/drm/i915/gt/intel_gt_pm.h  |  3 ++
 drivers/gpu/drm/i915/gt/uc/intel_uc.c  | 72 +++++++++++++++++++++++++-
 drivers/gpu/drm/i915/gt/uc/intel_uc.h  |  2 +
 drivers/gpu/drm/i915/i915_drv.c        | 21 ++++----
 drivers/gpu/drm/i915/i915_gem.c        | 10 +---
 drivers/gpu/drm/i915/intel_wopcm.c     | 68 ------------------------
 drivers/gpu/drm/i915/intel_wopcm.h     |  3 --
 10 files changed, 116 insertions(+), 104 deletions(-)