vk/gen7: Enable L3 caching for GEN7 MOCS
authorKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Tue, 25 Aug 2015 22:55:56 +0000 (15:55 -0700)
committerKristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Tue, 25 Aug 2015 22:55:56 +0000 (15:55 -0700)
Do what GL does here.

Signed-off-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
src/vulkan/anv_private.h

index 5d5ab462d1b97609028413671f89e59f275776fa..f0d4233b046e2beadc325f51ff057a203b4a5dd1 100644 (file)
@@ -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 {                                     \