From: Jesse Barnes Subject: Re: [PATCH 9/9] drm/i915: Disable eDP VDD in a delayed work proc instead of synchronously Date: Fri, 23 Sep 2011 08:52:43 +0530 Message-ID: <20110923085243.6e4b7b4c@jbarnes-x220> References: <1316470923-27832-1-git-send-email-keithp@keithp.com> <1316470923-27832-10-git-send-email-keithp@keithp.com> <20110921094759.22423597@jbarnes-x220> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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: Keith Packard Cc: Dave Airlie , intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Tue, 20 Sep 2011 21:51:33 -0700 Keith Packard wrote: > Yes, making it cleaner would help a ton. There are some basic problems > with the DRM API that make this hard though -- intel_dp_prepare may > not ever be followed by a call to intel_dp_commit. That's why I had > the VDD AUX stuff get turned off by a delayed work proc instead. > > Also, leaving VDD AUX high after EDID is fetched means that we can > start the mode setting immediately, rather than having to wait for the > power-off/power-on delay (which is really long). Yeah agreed. > What we could do is force VDD AUX off after the panel gets turned on; > that would ensure that turning the panel off would actually turn the > power off, rather than having VDD stay high for some time after that. Yep, that sounds great. Thanks, Jesse