From: Kristian Høgsberg Kristensen Date: Tue, 25 Aug 2015 22:55:56 +0000 (-0700) Subject: vk/gen7: Enable L3 caching for GEN7 MOCS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00e7799c69b3cdc64e7badc670de98103418581c;p=mesa.git vk/gen7: Enable L3 caching for GEN7 MOCS Do what GL does here. Signed-off-by: Kristian Høgsberg Kristensen --- 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 { \