compute-runtime/shared/source/os_interface/windows
Fabian Zwoliński d2ce3badfc fix: bindlessHeapsHelper handle unavailable external heap
This PR handles the situation in which a component
has reserved a front window space for itself in the external heap,
so that the Compute Runtime cannot access this area.

In such a situation, we perform the following steps:
1. reserve 4GB chunk in heapStandard
2. split our chunk into 2 parts: heapFrontWindow, heapRegular
3. from this point on, map all linearStream allocations in reserved 4GB
chunk

Patch applies to Windows and WSL.
Patch only applies when the bindless global allocator is enabled.

Related-To: HSD-16025889919
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-12-05 14:18:01 +01:00
..
wddm fix: add debug break in case of eviction failure 2024-11-27 11:39:15 +01:00
CMakeLists.txt build: fix multiple definitions issue 2024-11-12 15:54:12 +01:00
d3dkmthk_wrapper.h
debug_registry_reader.cpp fix: remove compiler cache legacy implementation 2024-05-06 18:28:35 +02:00
debug_registry_reader.h
deferrable_deletion_win.cpp performance: Ensure hostptrs removed before creating new one 2024-11-12 13:55:15 +01:00
deferrable_deletion_win.h performance: Ensure hostptrs removed before creating new one 2024-11-12 13:55:15 +01:00
device_command_stream.inl
device_time_gpu_cpu_drm_or_wddm.cpp fix: zeDeviceGetGlobalTimestamp to use submisison 2024-12-04 19:10:07 +01:00
device_time_gpu_cpu_wddm.cpp fix: zeDeviceGetGlobalTimestamp to use submisison 2024-12-04 19:10:07 +01:00
device_time_wddm.cpp fix: remove defaultProfilingTimerResolution from RuntimeCapabilityTable 2024-11-04 12:02:11 +01:00
device_time_wddm.h fix: zeDeviceGetGlobalTimestamp to use submisison 2024-12-04 19:10:07 +01:00
driver_info_windows.cpp
driver_info_windows.h
driver_info_windows_impl.cpp
dxcore_wrapper.h
dxgi_wrapper.h
gdi_interface.cpp
gdi_interface.h
gdi_interface_logging.cpp
gdi_interface_logging.h
gdi_profiling.h
gfx_escape_wrapper.h
gmm_helper_win.cpp fix: Do not defer MOCS to PAT on xe lpg 2024-05-29 10:49:37 +02:00
gmm_interface_win.cpp fix: correct loading L0 loader functions 2024-10-17 15:39:20 +02:00
hw_device_id.h
hw_device_id_win.cpp
init_wddm_os_interface.cpp feature: add support for null aub mode 2024-04-09 16:59:42 +02:00
kmd_notify_properties_windows.cpp
kmdaf_listener.cpp
kmdaf_listener.h
kmdaf_listener_stub.cpp
map_tile_instanced_allocation_drm_or_wddm.cpp
map_tile_instanced_allocation_wddm.cpp
max_chunk_size_drm_or_wddm.cpp performance: add debug flag to control huge chunk size on wddm. 2024-10-21 16:51:03 +02:00
max_chunk_size_wddm.cpp performance: add debug flag to control huge chunk size on wddm. 2024-10-21 16:51:03 +02:00
os_context_win.cpp feature: pass interrupt flag to queue creation api 2024-06-06 12:36:21 +02:00
os_context_win.h feature: pass interrupt flag to queue creation api 2024-06-06 12:36:21 +02:00
os_environment_win.cpp
os_environment_win.h
os_inc.h
os_interface_win.cpp
os_interface_win.h
os_library_win.cpp fix: correct loading L0 loader functions 2024-10-17 15:39:20 +02:00
os_library_win.h fix: correct loading L0 loader functions 2024-10-17 15:39:20 +02:00
os_memory_virtual_alloc.cpp
os_memory_win.cpp feature: support SVM heap in reserveVirtualMem 2024-10-22 16:47:14 +02:00
os_memory_win.h
os_metrics_library.cpp
os_socket.h
os_thread_win.cpp fix: create thread with function pointer 2024-08-21 18:02:37 +02:00
os_thread_win.h
os_time_win.cpp fix: zeDeviceGetGlobalTimestamp to use submisison 2024-12-04 19:10:07 +01:00
os_time_win.h
page_table_manager_functions.cpp
performance_counters_win.cpp fix: stop direct submission before oa configuration activation 2024-10-22 14:26:44 +02:00
performance_counters_win.h
power_settings.cpp
power_settings_stub.cpp
print.cpp
product_helper_drm_stub.cpp Revert "fix: correct number of slice count in configureHwInfoDrm" 2024-07-19 04:35:03 +02:00
product_helper_wddm.cpp refactor: extract common logic from wddm and drm product helpers 2024-07-17 11:03:02 +02:00
sharedata_wrapper.h feature: add support for receiving FtrWalkerMTP flag 2024-06-05 11:03:19 +02:00
sys_calls.cpp fix: move pathExists out of sys calls and do not mock it 2024-09-10 19:24:45 +02:00
sys_calls.h Revert "fix: ulls controller sleep, windows" 2024-06-21 14:10:43 +02:00
sys_calls_winmm.cpp fix: ulls controller sleep, windows 2024-10-24 18:07:04 +02:00
sys_calls_winmm.h fix: ulls controller sleep, windows 2024-10-24 18:07:04 +02:00
sys_calls_wrapper.h
sys_calls_wrapper_drm_or_wddm.cpp
thk_wrapper.h
trim_callback.cpp fix: call evict under lock 2024-09-25 10:26:01 +02:00
trim_callback_stub.cpp fix: call evict under lock 2024-09-25 10:26:01 +02:00
wddm_additional_context_flags.cpp
wddm_allocation.cpp fix: use productHelper in getPatIndexInfoString() on Windows 2024-10-22 19:27:13 +02:00
wddm_allocation.h fix: use productHelper in getPatIndexInfoString() on Windows 2024-10-22 19:27:13 +02:00
wddm_allocation_common.cpp
wddm_apply_additional_map_gpu_va_fields.cpp feature: Mark selected resources as UC when mitigating dc flush 2024-04-12 12:52:13 +02:00
wddm_debug.h
wddm_device_command_stream.h fix: add missing NOLINT to forward declarations 2024-10-10 13:46:14 +02:00
wddm_device_command_stream.inl fix: call flushMonitorFence on BCS CSR 2024-12-03 12:48:54 +01:00
wddm_engine_mapper.cpp
wddm_engine_mapper.h
wddm_memory_manager.cpp fix: bindlessHeapsHelper handle unavailable external heap 2024-12-05 14:18:01 +01:00
wddm_memory_manager.h feature: support physical host memory 2024-11-20 08:19:52 +01:00
wddm_memory_manager_drm_or_wddm.cpp
wddm_memory_manager_wddm.cpp
wddm_memory_operations_handler.cpp fix: remove destroyed allocations from eviction lists 2024-11-25 22:19:54 +01:00
wddm_memory_operations_handler.h fix: remove destroyed allocations from eviction lists 2024-11-25 22:19:54 +01:00
wddm_memory_operations_handler_create.cpp
wddm_memory_operations_handler_with_aub_dump.h fix: fix freeing allocations in aub mode 2024-10-03 17:14:07 +02:00
wddm_residency_allocations_container.cpp refactor: remove dead code 2024-06-26 10:44:45 +02:00
wddm_residency_allocations_container.h
wddm_residency_controller.cpp performance: improve iterating over residency allocations 2024-10-07 16:12:22 +02:00
wddm_residency_controller.h performance: improve iterating over residency allocations 2024-10-07 16:12:22 +02:00
windows_defs.h
windows_inc.cpp
windows_wrapper.h feature(sysman): Add pmt support in windows 2024-04-10 12:42:19 +02:00