[Intel-gfx] [PATCH 0/6] drm/i915: pm cleanups, rename to clock gating

Jani Nikula jani.nikula at intel.com
Wed Mar 1 13:54:14 UTC 2023


Finish off some of the cleanups done earlier in intel_pm.[ch]

Jani Nikula (6):
  drm/i915/wm: remove display/ prefix from include
  drm/i915/pm: drop intel_pm_setup()
  drm/i915/pm: drop intel_suspend_hw()
  drm/i915: remove unnecessary intel_pm.h includes
  drm/i915: rename intel_pm.[ch] to intel_clock_gating.[ch]
  drm/i915/clock: mass rename dev_priv to i915

 drivers/gpu/drm/i915/Makefile                 |   2 +-
 drivers/gpu/drm/i915/display/i9xx_wm.c        |   1 -
 drivers/gpu/drm/i915/display/intel_display.c  |   4 +-
 .../drm/i915/display/intel_display_debugfs.c  |   1 -
 .../drm/i915/display/intel_modeset_setup.c    |   1 -
 drivers/gpu/drm/i915/display/intel_wm_types.h |   2 +-
 drivers/gpu/drm/i915/display/skl_watermark.c  |   1 -
 drivers/gpu/drm/i915/gt/intel_gt.c            |   1 -
 drivers/gpu/drm/i915/gt/intel_gt_pm.c         |   1 -
 drivers/gpu/drm/i915/gt/selftest_llc.c        |   1 -
 drivers/gpu/drm/i915/i915_debugfs.c           |   1 -
 drivers/gpu/drm/i915/i915_driver.c            |  11 +-
 drivers/gpu/drm/i915/i915_gem.c               |   8 +-
 drivers/gpu/drm/i915/i915_irq.c               |   1 -
 drivers/gpu/drm/i915/i915_pmu.c               |   1 -
 drivers/gpu/drm/i915/i915_request.c           |   1 -
 drivers/gpu/drm/i915/i915_sysfs.c             |   1 -
 drivers/gpu/drm/i915/intel_clock_gating.c     | 888 +++++++++++++++++
 drivers/gpu/drm/i915/intel_clock_gating.h     |  14 +
 drivers/gpu/drm/i915/intel_pm.c               | 907 ------------------
 drivers/gpu/drm/i915/intel_pm.h               |  20 -
 drivers/gpu/drm/i915/intel_runtime_pm.c       |   2 +
 drivers/gpu/drm/i915/intel_uncore.c           |   1 -
 drivers/gpu/drm/i915/vlv_suspend.c            |   4 +-
 24 files changed, 918 insertions(+), 957 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_clock_gating.c
 create mode 100644 drivers/gpu/drm/i915/intel_clock_gating.h
 delete mode 100644 drivers/gpu/drm/i915/intel_pm.c
 delete mode 100644 drivers/gpu/drm/i915/intel_pm.h

-- 
2.39.1



More information about the Intel-gfx mailing list