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
..
2018-08-13 10:13:08 +02:00
2018-08-14 14:41:19 +02:00
2018-08-08 17:10:39 +02:00
2018-08-14 10:56:16 +02:00
2018-08-14 12:22:20 +02:00
2018-08-10 16:34:27 +02:00
2018-08-09 12:19:46 +02:00
2018-08-14 10:04:58 +02:00
2018-07-17 19:47:54 +02:00
2018-08-04 13:52:20 +02:00
2018-07-31 12:20:52 +02:00
2018-08-14 14:41:19 +02:00
2018-08-08 17:10:39 +02:00
2018-08-10 14:25:53 +02:00
2018-08-08 17:10:39 +02:00
2018-08-10 10:13:33 +02:00
2018-08-08 17:10:39 +02:00
2018-08-08 17:10:39 +02:00
2018-08-08 17:10:39 +02:00
2018-07-19 15:17:17 +02:00
2018-08-03 08:25:44 +02:00
2018-08-07 17:28:54 +02:00
2018-08-14 12:22:20 +02:00
2018-06-14 09:45:00 +02:00
2018-03-08 13:23:27 +01:00
2018-08-13 17:21:04 +02:00
2018-08-13 17:21:04 +02:00
2018-08-03 08:25:44 +02:00
2018-08-14 10:04:58 +02:00
2018-08-09 16:12:44 +02:00
2018-06-04 08:29:55 +02:00
2018-07-19 01:04:52 +02:00
2018-08-14 11:02:27 +02:00
2018-08-14 15:00:16 +02:00
2018-08-14 10:04:58 +02:00
2018-08-14 15:00:16 +02:00
2018-06-14 09:45:00 +02:00
2018-08-08 17:10:39 +02:00
2018-07-19 15:17:17 +02:00
2018-08-10 15:59:26 +02:00
2018-08-10 10:13:33 +02:00
2018-08-13 13:45:55 +02:00
2018-08-13 10:13:08 +02:00
2018-03-08 13:23:27 +01:00
2018-08-13 10:13:08 +02:00
2018-08-06 10:57:18 +02:00
2018-07-11 17:20:24 +02:00
2018-08-10 12:23:34 +02:00
2018-08-07 15:17:06 +02:00
2018-03-06 14:26:05 +01:00
2018-08-13 11:05:18 +02:00
2018-08-08 13:01:45 +02:00
2018-06-14 09:06:40 +02:00
2018-05-25 10:08:26 +02:00
2018-06-14 09:45:00 +02:00
2018-06-14 09:45:00 +02:00
2018-08-10 18:24:21 +02:00
2017-12-21 00:45:38 +01:00
2018-03-06 09:09:04 +01:00
2018-03-06 09:09:04 +01:00
2018-08-10 18:24:21 +02:00
2018-06-14 09:28:12 +02:00
2018-06-14 09:28:12 +02:00
2018-08-14 10:04:58 +02:00
2018-07-27 00:16:30 +02:00
2018-07-27 00:16:30 +02:00
2018-06-14 09:45:00 +02:00
2018-03-28 11:46:29 +02:00
2018-03-28 11:46:29 +02:00
2018-04-13 09:59:16 +02:00