compute-runtime/shared/source/os_interface
Wrobel, Patryk 4c58eda90d Ensure that BO handle is closed only once
When one process had exported and then opened IPC handle
of memory, then close function was called twice for the
same BO handle. It caused debugBreak() and aborted
an application.

This change allows multiple separate BOs to share one
handle. The last shared handle owner calls close() function.

Related-To: NEO-7200
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com>
2023-02-13 14:42:49 +01:00
..
create_command_stream_receiver_drm
create_command_stream_receiver_drm_or_wddm Cleanup includes 25 2023-01-10 12:54:45 +01:00
create_command_stream_receiver_wddm
linux Ensure that BO handle is closed only once 2023-02-13 14:42:49 +01:00
windows Cleanup includes 48 2023-02-10 17:23:02 +01:00
CMakeLists.txt Cleanup includes 48 2023-02-10 17:23:02 +01:00
aub_memory_operations_handler.cpp Refactor aubstream include interface 2022-11-23 10:30:13 +01:00
aub_memory_operations_handler.h Refactor aubstream include interface 2022-11-23 10:30:13 +01:00
create_os_context_drm.cpp Set root device index in OsContext 2022-11-16 23:02:19 +01:00
create_os_context_drm_or_wddm.cpp Cleanup includes 25 2023-01-10 12:54:45 +01:00
create_os_context_wddm.cpp Set root device index in OsContext 2022-11-16 23:02:19 +01:00
create_os_time_drm.cpp Create OS agnostic OSTime in AUB/TBX mode 2023-02-02 14:35:26 +01:00
create_os_time_drm_or_wddm.cpp Create OS agnostic OSTime in AUB/TBX mode 2023-02-02 14:35:26 +01:00
create_os_time_wddm.cpp Create OS agnostic OSTime in AUB/TBX mode 2023-02-02 14:35:26 +01:00
debug_env_reader.cpp Fix read of 64bit enviroment variables 2022-09-09 14:00:10 +02:00
debug_env_reader.h
device_factory.cpp Cleanup includes 50 2023-02-10 20:26:13 +01:00
device_factory.h Don't use DEFAULT_PLATFORM in unit tests 2022-02-04 17:57:39 +01:00
discover_devices_drm.cpp
discover_devices_drm_or_wddm.cpp
discover_devices_wddm.cpp
driver_info.h Fix typo and error check when retrieving pci information 2022-10-14 14:57:07 +02:00
hw_info_config.cpp Move ProductHelper ownership to RootDeviceEnvironment 2023-02-01 08:29:46 +01:00
hw_info_config.h W/A add limitation on preferred slm on some platforms 2023-02-13 10:42:39 +01:00
hw_info_config.inl W/A add limitation on preferred slm on some platforms 2023-02-13 10:42:39 +01:00
hw_info_config_bdw_and_later.inl Align only CPU VA for SVM_CPU 2023-01-10 16:52:29 +01:00
hw_info_config_dg2_and_later.inl Rename HwInfoConfig to ProductHelper 2022-12-14 14:39:52 +01:00
hw_info_config_xehp_and_later.inl Align only CPU VA for SVM_CPU 2023-01-10 16:52:29 +01:00
init_os_interface_drm.cpp
init_os_interface_drm_or_wddm.cpp
init_os_interface_wddm.cpp
metrics_library.cpp refactor: rename hw_helper files to gfx_core_helper files 2023-02-01 19:37:51 +01:00
os_context.cpp style: format code using clang-format 15.0.6 2023-01-05 10:33:47 +01:00
os_context.h Cleanup includes 10 2022-12-05 12:39:33 +01:00
os_environment.h
os_inc_base.h
os_interface.cpp Move Drm cleanup logic to separated method 2022-07-25 12:23:37 +02:00
os_interface.h add missing include 2023-01-11 17:26:36 +01:00
os_library.h Cleanup includes 9 2022-11-30 14:48:50 +01:00
os_memory.cpp
os_memory.h Cleanup includes 13 2022-12-16 12:36:27 +01:00
os_thread.h
os_time.cpp Create OS agnostic OSTime in AUB/TBX mode 2023-02-02 14:35:26 +01:00
os_time.h Create OS agnostic OSTime in AUB/TBX mode 2023-02-02 14:35:26 +01:00
performance_counters.cpp Cleanup includes 2022-07-25 09:58:38 +02:00
performance_counters.h Cleanup includes 10 2022-12-05 12:39:33 +01:00
print.h style: configure readability-identifier-naming.FunctionCase 2022-05-17 20:55:56 +02:00
product_helper_hw.h W/A add limitation on preferred slm on some platforms 2023-02-13 10:42:39 +01:00
sys_calls_common.h Wait for events from host 2022-10-10 12:12:13 +02:00