[Intel-gfx] [PATCH] drm/i915: Use MLC (l3$) for context objects

Eric Anholt eric at anholt.net
Thu Jul 19 16:53:41 CEST 2012


Chris Wilson <chris at chris-wilson.co.uk> writes:

> Enabling context support increases SwapBuffers latency by about 20%
> (measured on an i7-3720qm). We can offset that loss slightly by enabling
> faster caching for the contexts. As they are not backed by any
> particular cache (such as the sampler or render caches) our only option
> is to select the generic mid-level cache. This reduces the latency of
> the swap by about 5%.

The UFO driver is doing LLC/MLC on all buffers by using the cacheability
control field.  I think we should do the same by just setting all our
pte fields for LLC+MLC instead of special casing contexts.
-------------- 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/20120719/d144878c/attachment.sig>


More information about the Intel-gfx mailing list