From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Anholt Subject: Re: [PATCH 2/2] drm/i915: disable indirect state pointers in render flush Date: Thu, 26 Jul 2012 10:33:18 -0700 Message-ID: <87r4rypgv5.fsf@eliezer.anholt.net> References: <1342803748-25695-1-git-send-email-chris@chris-wilson.co.uk> <1343220704-4210-1-git-send-email-daniel.vetter@ffwll.ch> <1343220704-4210-2-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0709169965==" Return-path: In-Reply-To: <1343220704-4210-2-git-send-email-daniel.vetter@ffwll.ch> 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: Intel Graphics Development Cc: Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org --===============0709169965== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Daniel Vetter writes: > Since we don't guarantee that objects stay at the same gtt offset, > userspace needs to reload all indirect state anyway, even with hw > contexts. The hw provides a little pipe_control flag to disable at > least some these indirect state pointers and hence avoid to > save/restore them at context switch time. > > Seems to improve hw context switch throughput as measured by running > glxgears by about 0.5%, barely above the noise on my ivb gt2 here. I'd like to see some better testing than picking an fps number out of glxgears. I'm dubious of there being any measurable effect here. But then, I haven't even been able to figure out from the specs what exactly is considered to be "indirect state". --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlARf18ACgkQHUdvYGzw6vdZrgCdFj0tstEIz1Biv9RC2ZHsN7at nc0AoJofyfB9KzD6yRf3i4u5aH3b7+X4 =9Ro5 -----END PGP SIGNATURE----- --=-=-=-- --===============0709169965== 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 --===============0709169965==--