From: Eric Anholt Subject: Re: [RFC PATCH 00/11] i915 HW context support Date: Wed, 15 Feb 2012 12:33:38 -0800 Message-ID: <87sjibdefx.fsf@eliezer.anholt.net> References: <1329253758-24943-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0741280897==" Return-path: In-Reply-To: <1329253758-24943-1-git-send-email-ben@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: intel-gfx@lists.freedesktop.org Cc: Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org --===============0741280897== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 14 Feb 2012 22:09:07 +0100, Ben Widawsky wrote: > These patches are a heavily revised version of the patches I wrote over > a year ago. These patches have passed basic tests on SNB, and IVB, and > older versions worked on ILK. In theory, context support should work > all the way back to Gen4, but I haven't tested it. Also since I suspect > ILK may be unstable, so the code has it disabled for now. >=20 > HW contexts provide a way for the GPU to save an restore certain state > in between batchbuffer boundaries. Typically, GPU clients must re-emit > the entire state every time they run because the client does not know > what has been destroyed since the last time. With these patches the > driver will emit special instructions to do this on behalf of the client > if it has registered a context, and included that with the batchbuffer. These patches look pretty solid. In particular, the API (create/destroy/context id in execbuf) looks like just what we want for Mesa. I'll try to get around to testing it out soon (I'm poking at some performance stuff currently where this might become relevant soon). The couple of patches without a comment from me are: Reviewed-by: Eric Anholt --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk88FqIACgkQHUdvYGzw6vd5dgCbBuJuvOdGm//vqIFV3n5JHwTV QXgAn0LF1cDlXhOV2MAHElq0PXrSiweE =zl1m -----END PGP SIGNATURE----- --=-=-=-- --===============0741280897== 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 --===============0741280897==--