From: Keith Packard Subject: Re: SNB LVDS goes all stripy at times with rc6 enabled Date: Wed, 27 Jul 2011 23:08:08 -0700 Message-ID: References: <20110727090609.6870fe83@jbarnes-desktop> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1527009753==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id C31049E78B for ; Wed, 27 Jul 2011 23:08:11 -0700 (PDT) In-Reply-To: <20110727090609.6870fe83@jbarnes-desktop> 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: Jesse Barnes Cc: Intel drivers List-Id: intel-gfx@lists.freedesktop.org --===============1527009753== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Wed, 27 Jul 2011 09:06:09 -0700, Jesse Barnes = wrote: > I tried this last week with my patch So, with the intel_crtc DPMS tracking fixed, this problem can now be easily reproduced in a wide range of situations. It does not depend on the output in question -- Jesse and I have managed to make this happen on VGA, DP, LVDS and HDMI. The only thing we haven't tested is eDP. That one would be particularly interesting as it doesn't depend on the PCH. Anyone have an SNB machine with an eDP panel and an external monitor to try? It does not depend on the position of the outputs on the screen, all that it requires is that one output be disabled and then the other output get a new mode. Something like: $ xrandr --output LVDS1 --pos 0x0 --mode 1024x768 --output DP2 --pos 0x0 --= mode 1024x768 $ xrandr --output DP2 --off $ xrandr --output LVDS1 --auto # this assumes that LVDS1 is larger than 10= 24x768 The PCH reports no FDI data errors, and if you send the errant monitor the PCH-internal test signal (bit 31, register 0xf0e30 and 0xf1e30), it displays that correctly. So, it surely looks like the CPU is sending the wrong data to the PCH in this case. At this point, I have only two proposed ugly work-arounds: 1) Disable rc6. 2) Once a crtc is turned on, leave it on. Neither of these is appealing for obvious reasons. At this point, it seems like the most likely cause is in the crtc disabling code; some ordering issue or missing pieces may be scrambling some hidden internal state. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFOMPzIQp8BWwlsTdMRAmVsAJ0T0dmbEmb6JMJDBSLDe2GuSTnxLACgg+Xl v00OouMAZ5jhC3NDxx76fYY= =EBp/ -----END PGP SIGNATURE----- --=-=-=-- --===============1527009753== 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 --===============1527009753==--