From 00e7799c69b3cdc64e7badc670de98103418581c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg=20Kristensen?= Date: Tue, 25 Aug 2015 15:55:56 -0700 Subject: [PATCH] vk/gen7: Enable L3 caching for GEN7 MOCS MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Do what GL does here. Signed-off-by: Kristian Høgsberg Kristensen --- src/vulkan/anv_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vulkan/anv_private.h b/src/vulkan/anv_private.h index 5d5ab462d1b..f0d4233b046 100644 --- a/src/vulkan/anv_private.h +++ b/src/vulkan/anv_private.h @@ -553,7 +553,7 @@ __gen_combine_address(struct anv_batch *batch, void *location, static const struct GEN7_MEMORY_OBJECT_CONTROL_STATE GEN7_MOCS = { .GraphicsDataTypeGFDT = 0, .LLCCacheabilityControlLLCCC = 0, - .L3CacheabilityControlL3CC = 0 + .L3CacheabilityControlL3CC = 1 }; #define GEN8_MOCS { \ -- 2.30.2