Skip to content

refactor power management into intel_pm

Eugeni Dodonov intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/i915: move fbc-related functionality into intel_pm moduledrivers/gpu/drm/i915/Makefile drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h +1 more+537 -4840 replies
2/5drm/i915: move watermarks settings into intel_pm moduledrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+1496 -14760 replies
3/5drm/i915: move drps, rps and rc6-related functions to intel_pmdrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+510 -5090 replies
4/5drm/i915: move emon functionality into intel_pm moduledrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_pm.c+86 -860 replies
5/5drm/i915: move clock gating functionality into intel_pm moduledrivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h drivers/gpu/drm/i915/intel_pm.c+343 -3270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] refactor power management into intel_pm

As Chris Wilson noticed, my previous patch that did the refactoring as one big patch which moved everything at once was extremely difficult to review and maintain. So I split the same refactoring into a series of smaller patches, which move one subsystem at a time.

As previously, this reduces the intel_display.c module by around 2800 lines while also simplifying future power-related developments.

Eugeni Dodonov (5):
drm/i915: move fbc-related functionality into intel_pm module drm/i915: move watermarks settings into intel_pm module drm/i915: move drps, rps and rc6-related functions to intel_pm drm/i915: move emon functionality into intel_pm module drm/i915: move clock gating functionality into intel_pm module

 drivers/gpu/drm/i915/Makefile        |    1 +
 drivers/gpu/drm/i915/intel_display.c | 7803 +++++++++++-----------------------
 drivers/gpu/drm/i915/intel_drv.h     |   72 +
 drivers/gpu/drm/i915/intel_pm.c      | 2898 +++++++++++++
 4 files changed, 5432 insertions(+), 5342 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/intel_pm.c
Signature · 1 line
1.7.10