[Intel-gfx] [RFC PATCH 00/11] i915 HW context support

Eric Anholt eric at anholt.net
Wed Feb 15 21:33:38 CET 2012

On Tue, 14 Feb 2012 22:09:07 +0100, Ben Widawsky <ben at bwidawsk.net> 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.
> 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 <eric at anholt.net>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120215/fd1b4d6c/attachment.sig>

More information about the Intel-gfx mailing list