diff --git a/shared/source/os_interface/windows/wddm_memory_manager.cpp b/shared/source/os_interface/windows/wddm_memory_manager.cpp index 252dbd78ce..381563a168 100644 --- a/shared/source/os_interface/windows/wddm_memory_manager.cpp +++ b/shared/source/os_interface/windows/wddm_memory_manager.cpp @@ -1417,7 +1417,9 @@ bool WddmMemoryManager::isStatelessAccessRequired(AllocationType type) { type == AllocationType::SCRATCH_SURFACE || type == AllocationType::LINEAR_STREAM || type == AllocationType::PRIVATE_SURFACE || - type == AllocationType::CONSTANT_SURFACE) { + type == AllocationType::CONSTANT_SURFACE || + type == AllocationType::GLOBAL_SURFACE || + type == AllocationType::PRINTF_SURFACE) { return true; } return false; diff --git a/shared/test/unit_test/os_interface/windows/wddm_memory_manager_tests.cpp b/shared/test/unit_test/os_interface/windows/wddm_memory_manager_tests.cpp index 83253a38ea..8ff6088851 100644 --- a/shared/test/unit_test/os_interface/windows/wddm_memory_manager_tests.cpp +++ b/shared/test/unit_test/os_interface/windows/wddm_memory_manager_tests.cpp @@ -461,14 +461,15 @@ TEST_F(WddmMemoryManagerTests, givenTypeWhenCallIsStatelessAccessRequiredThenPro AllocationType::SCRATCH_SURFACE, AllocationType::LINEAR_STREAM, AllocationType::PRIVATE_SURFACE, - AllocationType::CONSTANT_SURFACE}) { + AllocationType::CONSTANT_SURFACE, + AllocationType::GLOBAL_SURFACE, + AllocationType::PRINTF_SURFACE}) { EXPECT_TRUE(wddmMemoryManager->isStatelessAccessRequired(type)); } for (auto type : {AllocationType::BUFFER_HOST_MEMORY, AllocationType::COMMAND_BUFFER, AllocationType::EXTERNAL_HOST_PTR, AllocationType::FILL_PATTERN, - AllocationType::GLOBAL_SURFACE, AllocationType::IMAGE, AllocationType::INDIRECT_OBJECT_HEAP, AllocationType::INSTRUCTION_HEAP, @@ -481,7 +482,6 @@ TEST_F(WddmMemoryManagerTests, givenTypeWhenCallIsStatelessAccessRequiredThenPro AllocationType::MCS, AllocationType::PIPE, AllocationType::PREEMPTION, - AllocationType::PRINTF_SURFACE, AllocationType::PROFILING_TAG_BUFFER, AllocationType::SHARED_IMAGE, AllocationType::SHARED_RESOURCE_COPY,