From: Jesse Barnes Subject: [RFC] Runtime display PM for VLV/BYT Date: Mon, 14 Oct 2013 16:07:44 -0700 Message-ID: <1381792069-27800-1-git-send-email-jbarnes@virtuousgeek.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy9-pub.mail.unifiedlayer.com (oproxy9-pub.mail.unifiedlayer.com [69.89.24.6]) by gabe.freedesktop.org (Postfix) with SMTP id 15947E70AA for ; Mon, 14 Oct 2013 16:07:54 -0700 (PDT) Received: from [67.161.37.189] (port=56824 helo=localhost.localdomain) by box514.bluehost.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1VVrEv-0000hc-Cz for intel-gfx@lists.freedesktop.org; Mon, 14 Oct 2013 17:07:53 -0600 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 List-Id: intel-gfx@lists.freedesktop.org This set adds bits needed for runtime power support, currently only lightly tested on VLV/BYT: 1) suspend/resume callbacks for different platforms 2) save/restore of display state across a power well toggle 3) get/put of display power well in critical places The TODO list still has a few items on it, and I'm looking for feedback: 1) sprinkle around some power well WARNs so we can catch things easily 2) add some tests using DPMS and NULL mode sets and comparing power well state 3) better debugfs support for multiple wells 4) refcount of power well in debugfs (with ref holders?) 5) more testing - I think the load time ref is still busted here and on HSW 6) convert HSW as well so DPMS will shut things down, not just mode sets Thoughts or comments? Thanks, Jesse