compute-runtime/unit_tests/os_interface
Hoppe, Mateusz 5be98e2e0f Fix VA sharing scenario
- make createGraphicsAllocationFromSharedHandle and
freeGraphicsMemory more threadsafe - there was race condition
where one thread called PRIME_FD_TO_HANDLE ioctl when the other just
closed the last handle with GEM_CLOSE ioctl. This led to situation
where newly acquired handle from PRIME_FD_TO_HANDLE was already invalid
and used in exec.

- adding mutex for the time of accessing shared handles container
 and ioctls (GEM_CLOSE and PRIME_FD_TO_HANDLE) resolves racing problem

Change-Id: I8417a036a1429be8f1ba97e63ebdda2707960564
2018-08-14 15:00:16 +02:00
..
linux Fix VA sharing scenario 2018-08-14 15:00:16 +02:00
windows [2/n] Initialize Wddm interface in Wddm init. 2018-08-14 11:02:27 +02:00
32bit_memory_tests.cpp Initial commit 2017-12-21 00:45:38 +01:00
CMakeLists.txt Cmake refactor part 20 2018-03-23 15:51:12 +01:00
debug_settings_manager_tests.cpp Add logging to VA sharing api 2018-08-14 14:15:35 +02:00
device_factory_tests.cpp OsInterface cleanup. 2018-08-10 14:25:53 +02:00
hw_info_config_tests.cpp Remove not used parameters in PlatformFixture SetUp function 2018-06-26 15:00:27 +02:00
hw_info_config_tests.h Initial commit 2017-12-21 00:45:38 +01:00
mock_performance_counters.cpp Instrumentation refactoring 2018-01-16 16:15:44 +01:00
mock_performance_counters.h HW CSR with AUB dump to operate on real device (HW Info) 2018-02-19 13:11:43 +01:00
os_interface_tests.cpp Initial commit 2017-12-21 00:45:38 +01:00
os_library_tests.cpp Switch clang-format to 6.0 2018-06-14 09:45:00 +02:00
performance_counters_gen_tests.cpp Switch clang-format to 6.0 2018-06-14 09:45:00 +02:00
performance_counters_tests.cpp Add instance of gmm helper to execution environment 2018-07-06 08:48:19 +02:00