From mboxrd@z Thu Jan 1 00:00:00 1970 From: Imre Deak Subject: Re: Power saving using Display port HPD Date: Mon, 14 Apr 2014 11:17:53 +0300 Message-ID: <1397463473.2995.9.camel@intelbox> References: <20140410072411.GL9262@phenom.ffwll.local> Reply-To: imre.deak@intel.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0102665692==" Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id C81DC6E729 for ; Mon, 14 Apr 2014 01:18:19 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Daniel Vetter Cc: intel-gfx List-Id: intel-gfx@lists.freedesktop.org --===============0102665692== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-J6FvHLi5EMKonSaVb+PT" --=-J6FvHLi5EMKonSaVb+PT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, 2014-04-14 at 09:47 +0200, Daniel Vetter wrote: > On Mon, Apr 14, 2014 at 9:43 AM, Arun Chandran wro= te: > > 1) Revert the commit 77961eb984c7e5394bd29cc7be2ab0bf0cc7e7b1. > > With this commit DP hotplug events are not coming after doing "xset dpm= s > > force off" > > > > commit bfcbf45b5b458ebdc38118ca67279a1cd90e085d > > Author: Arun Chandran > > Date: Fri Apr 11 16:16:32 2014 +0530 > > > > Revert "drm/i915: power domains: add vlv power wells" > > > > This reverts commit 77961eb984c7e5394bd29cc7be2ab0bf0cc7e7b1. >=20 > So this breaks DP hotplug detection? Imre? Yes, unfortunately. I made this clear in my patchset [1] and it was also discussed on IRC. If there isn't any (e)DP,HDMI pipe active we power down the DPIO HW block responsible normally for DP and HDMI hotplug detection. There is one possible solution: the pin that is used for HPD detection can be used either normally in the above way, where it's controlled by the DPIO block, or as a GPIO where it's controlled by the GPIO HW block which is on even if we power down the DPIO. So during power down periods we could reconfigure that pin to work as a GPIO and treat any interrupts arriving it as an HPD event. I haven't had yet time to investigate this. Another way is to turn on polling while powered down. This would also make VGA hotplug work, for which we don't have a GPIO alternative as above. [1]=20 http://lists.freedesktop.org/archives/intel-gfx/2014-February/040232.html --=-J6FvHLi5EMKonSaVb+PT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) iQEcBAABAgAGBQJTS5mxAAoJEORIIAnNuWDFVJ0IANMcDO5xHg0Lse3MtUyMEC6P YYvuzphcNBqsba9g36A1ioIMEKisDEXrCDAWMAD2jkjQE8QOqt1CqDYm1ScQvNpp s+rmB184E6WYyrwvoUVn3Ngc/i3ACgCMVSQgoOVRZcgqiBxF+y82Bn2+fMATOzu1 W7tynLee/1A0kS/sIJEJG+GaCmexHElScQ2ItqkDw4E98D2wGB7j8fmgSm0MvcKr ntoFNMCal+eIZXaHHqKvlMJ5rrG5OLoTFiUQ1rvVQgu1lQtGJ91914Zaj6W6y9/C 8zOluBvZtd0cRSX8F9MKb6ueDbfjV0ilQOQMg6KyQ63GvCFAnIXl+ol7lcac568= =0IlD -----END PGP SIGNATURE----- --=-J6FvHLi5EMKonSaVb+PT-- --===============0102665692== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============0102665692==--