i965: Add a BRW_MOCS_PTE #define.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 30 Sep 2014 08:15:55 +0000 (01:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 9 Oct 2014 13:02:55 +0000 (15:02 +0200)
commitd489a8a73d273e9042b3de49085576c2acd5153a
treef1401039388f14c02ff1368563a4f89d875162fe
parent8892a6b79c7c0ecb83b1e9b62f153b66030240db
i965: Add a BRW_MOCS_PTE #define.

Like BDW_MOCS_WB and BDW_MOCS_WT, this specifies that we want to use all
three caches (L3, LLC, and eLLC where available), but leaves the LLC
caching mode up to the kernel's page table entry.

This allows the kernel to pick WB/WT/UC based on whether it's using a
buffer for scanout.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/drivers/dri/i965/brw_defines.h