From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH 3/3] drm/i915: Use PIPE_CONTROL for flushing on gen6+. Date: Wed, 05 Oct 2011 17:59:31 -0700 Message-ID: <87zkhf2avg.fsf@eliezer.anholt.net> References: <1317708160-1761-1-git-send-email-kenneth@whitecape.org> <1317708160-1761-3-git-send-email-kenneth@whitecape.org> <20111005155713.6e2f0c6c@bwidawsk.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1733072574==" Return-path: In-Reply-To: <20111005155713.6e2f0c6c@bwidawsk.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: Ben Widawsky , Kenneth Graunke Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1733072574== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Wed, 5 Oct 2011 15:57:13 -0700, Ben Widawsky wrote: > I think we also want a TLB invalidate here, bit 18. This requires another > workaround before issuing this flush: We need 2 Store Data Commands (such= as > MI_STORE_DATA_IMM or MI_STORE_DATA_INDEX) before sending PIPE_CONTROL w/ = stall > (20) and TLB inv bit (18) set From=20the docs for GFX_MODE: "This field controls the invalidation if the TLB cache inside the hardware. When enabled this bit limits the invalidation of the TLB only to batch buffer boundaries or to pipe_control commands which have the TLB invalidation bit set. If disabled, the TLB caches are flushed for every full flush of the pipeline" We're already getting TLB invalidate at batchbuffer boundaries (actually, even more: every pipeline stall, since that bit is 0 on my hardware). What would we need this new flush for? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk6M/XMACgkQHUdvYGzw6veEcQCfcKzq4Cf0nGqFEErKtPWrRMDg AFQAnRQu5ZSaX5rj3d0liTXLfLu1hevO =+RoN -----END PGP SIGNATURE----- --=-=-=-- --===============1733072574== 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 --===============1733072574==--