diff --git a/runtime/memory_manager/graphics_allocation.h b/runtime/memory_manager/graphics_allocation.h index 130c304a0a..6b849f2057 100644 --- a/runtime/memory_manager/graphics_allocation.h +++ b/runtime/memory_manager/graphics_allocation.h @@ -244,7 +244,7 @@ class GraphicsAllocation : public IDNode { AllocationInfo() { flags.coherent = false; flags.evictable = true; - flags.flushL3Required = false; + flags.flushL3Required = true; flags.is32BitAllocation = false; flags.multiOsContextCapable = false; } diff --git a/unit_tests/helpers/hardware_commands_helper_tests.cpp b/unit_tests/helpers/hardware_commands_helper_tests.cpp index 7116a2428c..cfa4577b0e 100644 --- a/unit_tests/helpers/hardware_commands_helper_tests.cpp +++ b/unit_tests/helpers/hardware_commands_helper_tests.cpp @@ -1278,9 +1278,9 @@ HWCMDTEST_F(IGFX_GEN8_CORE, HardwareCommandsTest, givenCacheFlushAfterWalkerEnab char buff[MemoryConstants::pageSize * 2]; MockGraphicsAllocation svmAllocation1{alignUp(buff, MemoryConstants::pageSize), MemoryConstants::pageSize}; - svmAllocation1.setFlushL3Required(true); mockKernelWithInternal->mockKernel->kernelSvmGfxAllocations.push_back(&svmAllocation1); MockGraphicsAllocation svmAllocation2{alignUp(buff, MemoryConstants::pageSize), MemoryConstants::pageSize}; + svmAllocation2.setFlushL3Required(false); mockKernelWithInternal->mockKernel->kernelSvmGfxAllocations.push_back(&svmAllocation2); mockKernelWithInternal->mockKernel->svmAllocationsRequireCacheFlush = true;