Skip to content

Enable eDP PSR functionality at HSW - v2

Rodrigo Vivi dri-devel intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 12 repliesIn review

Changes in v1 from the cover letter

Shobit Kumar has implemented this patch series some time ago, but had no eDP panel with PSR capability to test them.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9drm/i915: Organize VBT stuff inside drm_i915_privatedrivers/gpu/drm/i915/i915_dma.c drivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_bios.c +6 more+116 -1101 reply
2/9drm/i915: Use cpu_transcoder for HSW_TVIDEO_DIP_* instead of pipedrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_hdmi.c+14 -143 replies
3/9drm/i915: Added SDP and VSC structures for handling PSR for eDPinclude/drm/drm_dp_helper.h+29 -01 reply
4/9drm/i915: Read the EDP DPCD and PSR Capabilitydrivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_drv.h+13 -01 reply
5/9drm/i915: Setup EDP PSR AUX Registersdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_dp.c drivers/gpu/drm/i915/intel_drv.h+83 -202 replies
6/9drm/i915: VBT Parsing for the PSR Feature Block for HSWdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_bios.c drivers/gpu/drm/i915/intel_bios.h+56 -10 replies
7/9drm/i915: Enable/Disable PSR on HSWdrivers/gpu/drm/i915/i915_reg.h drivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_dp.c +1 more+204 -12 replies
8/9drm/i915: Added debugfs support for PSR Statusdrivers/gpu/drm/i915/i915_debugfs.c+34 -01 reply
9/9drm/i915: Hook PSR functionalitydrivers/gpu/drm/i915/intel_ddi.c+2 -01 reply

Reviews trailers per patch

5 of 9 patches have a Reviewed-by or Acked-by.

PatchSateesh KavuriJani NikulaPaulo Zanoni
1/9R-b
2/9R-b
3/9
4/9R-b
5/9
6/9
7/9Credits-by R-b
8/9
9/9R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/9] Enable eDP PSR functionality at HSW - v2

PSR is an eDP feature that allows power saving even with static image at eDP screen.

v2: Main differences in this v2:
- Created vbt struct to get i915 dev_priv more organized and to avoid adding more stuff into it.
- migrated hsw macros to use transcoder instead of pipes than I could address eDP
- remove patch that was only adding edp psr registers and added them on demand

v1:
Shobit Kumar has implemented this patch series some time ago, but had no eDP panel with PSR capability to test them.

I could test and verify that this series fully identify PSR capability and enables it at HSW.
I also verified that it saves from 0.5-1W but only when in blank screen. It seems it is not really entering in sleeping mode with static image at eDP screen yet.

Please accept this series as the first part of PSR enabling while we continue working to improve its functionality.

Rodrigo Vivi (3):
drm/i915: Organize VBT stuff inside drm_i915_private drm/i915: Use cpu_transcoder for HSW_TVIDEO_DIP_* instead of pipe drm/i915: Hook PSR functionality

Shobhit Kumar (6):
drm/i915: Added SDP and VSC structures for handling PSR for eDP drm/i915: Read the EDP DPCD and PSR Capability drm/i915: Setup EDP PSR AUX Registers
drm/i915: VBT Parsing for the PSR Feature Block for HSW drm/i915: Enable/Disable PSR on HSW
drm/i915: Added debugfs support for PSR Status

 drivers/gpu/drm/i915/i915_debugfs.c  |  34 +++++
 drivers/gpu/drm/i915/i915_dma.c      |   8 +-
 drivers/gpu/drm/i915/i915_drv.h      |  63 +++++---
 drivers/gpu/drm/i915/i915_reg.h      |  53 ++++++-
 drivers/gpu/drm/i915/intel_bios.c    | 126 ++++++++++------
 drivers/gpu/drm/i915/intel_bios.h    |  20 ++-
 drivers/gpu/drm/i915/intel_crt.c     |   4 +-
 drivers/gpu/drm/i915/intel_ddi.c     |   8 +-
 drivers/gpu/drm/i915/intel_display.c |  16 +-
 drivers/gpu/drm/i915/intel_dp.c      | 285 +++++++++++++++++++++++++++++++----
 drivers/gpu/drm/i915/intel_drv.h     |   5 +
 drivers/gpu/drm/i915/intel_hdmi.c    |  12 +-
 drivers/gpu/drm/i915/intel_lvds.c    |  20 +--
 drivers/gpu/drm/i915/intel_sdvo.c    |   6 +-
 drivers/gpu/drm/i915/intel_tv.c      |   8 +-
 include/drm/drm_dp_helper.h          |  29 ++++
 16 files changed, 551 insertions(+), 146 deletions(-)
Signature · 1 line
1.7.11.7