From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jani Nikula Subject: [PATCH 0/6] drm/i915: BIOS display/adapter power state notifications Date: Fri, 23 Aug 2013 13:17:47 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by gabe.freedesktop.org (Postfix) with ESMTP id DE274E612D for ; Fri, 23 Aug 2013 03:16:14 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: intel-gfx@lists.freedesktop.org Cc: jani.nikula@intel.com, kristen.c.accardi@intel.com List-Id: intel-gfx@lists.freedesktop.org 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(-) -- 1.7.9.5