[Mesa-dev] [PATCH 7/7] i965: Drop non-LLC lunacy in the program cache code.

Kenneth Graunke kenneth at whitecape.org
Mon Jul 24 01:03:23 UTC 2017


On Saturday, July 22, 2017 2:28:06 AM PDT Chris Wilson wrote:
> Considering the prevalence of sse4.1, another candidate is
> brw_get_buffer_subdata(), we could use a WC map there as well.

Your thinking is...avoid polluting the CPU cache, since we're basically
going to be reading a continuous chunk of buffer data once, and never
accessing it again?

UC + movntdqa might be pretty reasonable there.  WC doesn't buy us much
considering it's a read-only map but I guess it doesn't hurt either...

--Ken
-------------- 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/mesa-dev/attachments/20170723/6355622b/attachment.sig>


More information about the mesa-dev mailing list