[PATCH 0/6] Call uC functions from GT ones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Cc: Tvrtko Ursulin <tvrtko.ursulin@xxxxxxxxxxxxxxx>

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(-)

-- 
2.22.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux