Skip to content

ddi: respin of runtime PM for DPMS

Imre Deak intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19drm/i915: Check hw state in assert_can_disable_lcplldrivers/gpu/drm/i915/intel_display.c+3 -41 reply
2/19drm/i915: Remove spll_refcount for hswdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_ddi.c+13 -290 replies
3/19drm/i915: Clean up WRPLL/SPLL #definesdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c+10 -90 replies
4/19drm/i915: ddi: move pch setup after encoder->pre_enabledrivers/gpu/drm/i915/intel_display.c+6 -70 replies
5/19drm/i915: ddi: move pch cleanup before encoder->post_disabledrivers/gpu/drm/i915/intel_display.c+4 -40 replies
6/19drm/i915: Move the SPLL enabling into hsw_crt_pre_enabledrivers/gpu/drm/i915/intel_crt.c drivers/gpu/drm/i915/intel_ddi.c+14 -180 replies
7/19drm/i915: Move SPLL disabling into hsw_crt_post_disabledrivers/gpu/drm/i915/intel_crt.c drivers/gpu/drm/i915/intel_ddi.c+15 -70 replies
8/19drm/i915: Add a debugfs file for the shared dpll statedrivers/gpu/drm/i915/i915_debugfs.c+26 -00 replies
9/19drm/i915: Move ddi_pll_sel into the pipe configdrivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_drv.h+20 -190 replies
10/19drm/i915: State readout and cross-checking for ddi_pll_seldrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_display.c+34 -550 replies
11/19drm/i915: Precompute static ddi_pll_sel values in encodersdrivers/gpu/drm/i915/intel_crt.c drivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_dp.c+26 -354 replies
12/19drm/i915: Basic shared dpll support for WRPLLsdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_display.c+34 -100 replies
13/19drm/i915: Document that the pll->mode_set hook is optionaldrivers/gpu/drm/i915/i915_drv.h+2 -00 replies
14/19drm/i915: State readout support for WRPLLsdrivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_reg.h +2 more+28 -04 replies
15/19drm/i915: ->disable hook for WRPLLsdrivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_display.c+20 -140 replies
16/19drm/i915: ->enable hook for WRPLLsdrivers/gpu/drm/i915/intel_ddi.c+19 -320 replies
17/19drm/i915: Switch to common shared dpll framework for WRPLLsdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c +2 more+28 -1450 replies
18/19drm/i915: Only touch WRPLL hw state in enable/disable hooksdrivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_display.c drivers/gpu/drm/i915/intel_drv.h+8 -210 replies
19/19drm/i915: ddi: enable runtime pm during dpmsdrivers/gpu/drm/i915/intel_display.c+8 -120 replies

Reviews trailers per patch

13 of 19 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDamien LespiauPaulo Zanoni
SeriesR-b
1/19R-b
2/19
3/19R-b
4/19
5/19
6/19
7/19
8/19R-b
9/19R-b
10/19R-b
11/19R-b
12/19R-b
13/19R-b
14/19R-b R-b R-b
15/19R-b
16/19R-b
17/19R-b
18/19R-b
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/19] ddi: respin of runtime PM for DPMS

This is a respin of the unmerged part of Daniel's runtime PM for DPMS patchset [1]. The original one also included a refactoring of the DDI PCH/CRT encoder modesetting path, I left the corresponding patches out from this series. This is because there hasn't been yet an agreement on those parts, but people would like to see the RPM DPMS support already applied.

Some patches needed to be updated/rebased because of the above omission, but these weren't anywhere significant so I just marked the fact with my s-o-b line. I also added two minor change to keep the modeset sequence at its current order and collected all the reviewed-by lines.

Tested on HSW DP/VGA, with basic DPMS on/off and igt/pm_rpm.

[1]
http://lists.freedesktop.org/archives/intel-gfx/2014-April/044179.html

Daniel Vetter (17):
drm/i915: Check hw state in assert_can_disable_lcpll drm/i915: Remove spll_refcount for hsw
drm/i915: Clean up WRPLL/SPLL #defines
drm/i915: Move the SPLL enabling into hsw_crt_pre_enable drm/i915: Move SPLL disabling into hsw_crt_post_disable drm/i915: Add a debugfs file for the shared dpll state drm/i915: Move ddi_pll_sel into the pipe config drm/i915: State readout and cross-checking for ddi_pll_sel drm/i915: Precompute static ddi_pll_sel values in encoders drm/i915: Basic shared dpll support for WRPLLs drm/i915: Document that the pll->mode_set hook is optional drm/i915: State readout support for WRPLLs drm/i915: ->disable hook for WRPLLs
drm/i915: ->enable hook for WRPLLs
drm/i915: Switch to common shared dpll framework for WRPLLs drm/i915: Only touch WRPLL hw state in enable/disable hooks drm/i915: ddi: enable runtime pm during dpms

Imre Deak (2):
drm/i915: ddi: move pch setup after encoder->pre_enable drm/i915: ddi: move pch cleanup before encoder->post_disable

 drivers/gpu/drm/i915/i915_debugfs.c  |  27 +++
 drivers/gpu/drm/i915/i915_drv.h      |  16 +-
 drivers/gpu/drm/i915/i915_reg.h      |  10 +-
 drivers/gpu/drm/i915/intel_crt.c     |  32 +++-
 drivers/gpu/drm/i915/intel_ddi.c     | 340 +++++++----------------------------
 drivers/gpu/drm/i915/intel_display.c | 157 +++++++++-------
 drivers/gpu/drm/i915/intel_dp.c      |  23 ++-
 drivers/gpu/drm/i915/intel_drv.h     |  14 +-
 8 files changed, 258 insertions(+), 361 deletions(-)
Signature · 1 line
1.8.4