From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: Is MI_FLUSH_ENABLE bit 12? Date: Mon, 5 Dec 2011 14:57:09 -0800 Message-ID: <20111205145709.5a12cee4@jbarnes-desktop> References: <861usr63vf.fsf@sumi.keithp.com> <87zkfephaa.fsf@eliezer.anholt.net> <20111130034200.GA7069@cloud01> <87ipm1cm3c.fsf@eliezer.anholt.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1556570520==" Return-path: Received: from oproxy3-pub.bluehost.com (oproxy3-pub.bluehost.com [69.89.21.8]) by gabe.freedesktop.org (Postfix) with SMTP id C65B49EF6A for ; Mon, 5 Dec 2011 14:54:34 -0800 (PST) In-Reply-To: <87ipm1cm3c.fsf@eliezer.anholt.net> 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: Eric Anholt Cc: Ben Widawsky , "drivers, Intel" List-Id: intel-gfx@lists.freedesktop.org --===============1556570520== Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/s3xO2YAQNgy9HZddxDOqs30"; protocol="application/pgp-signature" --Sig_/s3xO2YAQNgy9HZddxDOqs30 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 30 Nov 2011 13:54:47 -0800 Eric Anholt wrote: > On Wed, 30 Nov 2011 03:42:00 +0000, Ben Widawsky wrote: > Non-text part: multipart/signed > > On Tue, Nov 29, 2011 at 04:47:57PM -0800, Eric Anholt wrote: > > > On Mon, 28 Nov 2011 18:48:04 -0800, "Keith Packard" wrote: > > > Non-text part: multipart/mixed > > > Non-text part: multipart/signed > > > >=20 > > > > Just reading through vol1c.4 of the bspec this evening and found s= omething odd. > > > >=20 > > > > Bit 11 of MI_MODE is "Invalidate UHPTR enable". > > > > Bit 12 of MI_MODE is "MI_FLUSH Enable" > > > >=20 > > > > And, yet, in i915_reg.h: > > > >=20 > > > > #define MI_MODE 0x0209c > > > > # define VS_TIMER_DISPATCH (1 << 6) > > > > # define MI_FLUSH_ENABLE (1 << 11) > > > >=20 > > > > Are we off-by-one on MI_FLUSH_ENABLE? Seems like this would cause > > > > serious problems... > > >=20 > > > I think we are. On the other hand, based on actual behavior plus > > > reading of simulator, I believe that the bit does nothing, regardless. > >=20 > > I do not think so. We've (Chris, I, and perhaps Jesse?) been through > > this excercise at least twice before, and both times resulted in hangs > > when we switched to bit 12 on Ironlake, not sure about other platforms. >=20 > There is no MI_FLUSH enable bit on Ironlake in my copy of the docs. Bit > 12 is MBZ on that hardware. It's one of those "been there forever" bits. A comment wouldn't hurt, but we should also put in a doc change request (in fact I think I did that but it went into a black hole). --=20 Jesse Barnes, Intel Open Source Technology Center --Sig_/s3xO2YAQNgy9HZddxDOqs30 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJO3UxFAAoJEIEoDkX4Qk9hOx4QALLxjuWxl0Fx+MoIidl2j8eI XJNav2Wi2ccLHOttKc/2ZZup7Gflpcn11Ryor0ZRlnbp0FSOWCyQHLn0390DIthz Rv/pKUEAK4m6sWiWNi7E+XOo2bhobJNAb+gO4hMh1D7nWZJf/AUcXaxZM+BVUVXW g15ka+thsDNcevcDF0V8W1hz+fW3JGdER5xBKdGVdMoZpTpv01hjPU0+0w870FAB jGX98E8bSl70Gen0IPNrp+PhwceGaaWVgbbepM95t0O97t4Z+aRcgD5b7ngh/LEK bLXetve70uo/lqlSC2DjWJnr4B0NkC+A81SJ5fhF82elIWSBG0ypzB4MUBdlTSKu VXbymAg5uSqeOAHAdcKGKP/jqLbf2x+JZhAMPo3sHA/Nfsz4zo/3sOis1Qopsasi 29ZcU0Hz1HAzq27CPfzQhrMz8MmEgs6gckeXwUMewXN6t3d9cDP3eqIMRJwb/F7f 8cxE3VpTUypnFCmpVK5g7wy0Y3wxJ2sYywg/47mxllaazqIZM29glVaiXB8w6+3R 8sXmWb2DVzwuXhl+CIZdPe+KZTdE5g0yoSja0EZuHGohmzR/VjOJCgqoYQ8Jtm1m vM/F4/Eq9FqMkH8mR2lokLE3WP+cIVXDfugYzEQIzwMT8ZVnw8CfFmoyPo8ct8vj B0RQ7a6mUjyoA/ouOsQJ =+Qms -----END PGP SIGNATURE----- --Sig_/s3xO2YAQNgy9HZddxDOqs30-- --===============1556570520== 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 --===============1556570520==--