compute-runtime/unit_tests/mt_tests
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
..
api Cmake refactor part 22 2018-03-27 12:59:05 +02:00
command_queue Cmake refactor part 19 2018-03-22 16:30:15 +01:00
device_queue Add instance of gmm helper to execution environment 2018-07-06 08:48:19 +02:00
event Cmake refactor part 22 2018-03-27 12:59:05 +02:00
fixtures Cmake refactor part 19 2018-03-22 16:30:15 +01:00
helpers Cmake refactor part 19 2018-03-22 16:30:15 +01:00
memory_manager Cmake refactor part 22 2018-03-27 12:59:05 +02:00
os_interface Fix VA sharing scenario 2018-08-14 15:00:16 +02:00
platform Cmake refactor part 22 2018-03-27 12:59:05 +02:00
utilities Switch clang-format to 6.0 2018-06-14 09:45:00 +02:00
CMakeLists.txt Wddm interface [7/n]: Add 2.3 interface with HW queue support 2018-05-24 10:26:58 +02:00