[Intel-gfx] [PATCH] i965: Always try to create a logical context
Kenneth Graunke
kenneth at whitecape.org
Mon Nov 20 18:43:26 UTC 2017
On Monday, November 20, 2017 1:29:42 AM PST Chris Wilson wrote:
> Always enable use of HW logical contexts to preserve GPU state between
> batches when the kernel supports such constructs, continuing to enforce
> the required support for gen6+.
>
> At runtime, this effectively removes the BRW_NEW_CONTEXT flag (and the
> upload of invariant state) from the start of every batch for any kernel
> supporting contexts. So long as the older atoms are correctly listening
> to the right flag (NEW_CONTEXT rather than NEW_BATCH) this should
> eliminate a few redundant state uploads for the older platforms.
>
> Cc: Jason Ekstrand <jason.ekstrand at intel.com>
> Cc: Kenneth Graunke <kenneth at whitecape.org>
Nice, I saw Ironlake RC6 go by and was wondering if contexts were up
next :)
It makes sense to use them if the kernel supports them.
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20171120/879f3314/attachment.sig>
More information about the Intel-gfx
mailing list