Skip to content

drm/i915: BIOS display/adapter power state notifications

Jani Nikula intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915: expose intel_ddi_get_encoder_port()drivers/gpu/drm/i915/intel_ddi.c drivers/gpu/drm/i915/intel_drv.h+2 -11 reply
2/6drm/i915: add plumbing for SWSCIdrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_opregion.c+121 -15 replies
3/6drm/i915: add opregion function to notify bios of encoder enable/disabledrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_opregion.c+60 -04 replies
4/6drm/i915: add opregion function to notify bios of adapter power statedrivers/gpu/drm/i915/i915_drv.h drivers/gpu/drm/i915/intel_opregion.c+30 -02 replies
5/6DRAFT: drm/i915: do display power state notification on crtc enable/disabledrivers/gpu/drm/i915/intel_display.c+6 -21 reply
6/6DRAFT: drm/i915: do adapter power state notification on PC8+ enable/disabledrivers/gpu/drm/i915/intel_display.c+4 -07 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchPaulo Zanoni
1/6R-b
2/6
3/6
4/6
5/6R-b
6/6

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 0/6] drm/i915: BIOS display/adapter power state notifications

Hi all, here are some patches for letting the BIOS do some further power savings on HSW, now based on intel-drm-nightly with Paulo's PC8+ work.

Patches 1-4 are the glue code to wrap the BIOS SWSCI calls into a few sensible function calls.

Patches 5-6 are for reference only, and I presume they will have to be tweaked based on testing. Where exactly to do the calls? What parameters are to be used in the end? Possibly calls need to be added on the suspend/resume paths too.

I don't have the setup to do the testing and measurements, but I hope these will enable others.

BR,
Jani.

Jani Nikula (6):
drm/i915: expose intel_ddi_get_encoder_port()
drm/i915: add plumbing for SWSCI
drm/i915: add opregion function to notify bios of encoder
enable/disable
drm/i915: add opregion function to notify bios of adapter power state
DRAFT: drm/i915: do display power state notification on crtc
enable/disable
DRAFT: drm/i915: do adapter power state notification on PC8+
enable/disable

 drivers/gpu/drm/i915/i915_drv.h       |   12 ++
 drivers/gpu/drm/i915/intel_ddi.c      |    2 +-
 drivers/gpu/drm/i915/intel_display.c  |   12 +-
 drivers/gpu/drm/i915/intel_drv.h      |    1 +
 drivers/gpu/drm/i915/intel_opregion.c |  200 ++++++++++++++++++++++++++++++++-
 5 files changed, 223 insertions(+), 4 deletions(-)
Signature · 1 line
1.7.9.5