Christian König
76bf0db554
dma-buf/fence: make fence context 64 bit v2
...
Fence contexts are created on the fly (for example) by the GPU scheduler used
in the amdgpu driver as a result of an userspace request. Because of this
userspace could in theory force a wrap around of the 32bit context number
if it doesn't behave well.
Avoid this by increasing the context number to 64bits. This way even when
userspace manages to allocate a billion contexts per second it takes more
than 500 years for the context number to wrap around.
v2: fix printf formats as well.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1464786612-5010-2-git-send-email-deathsimple@vodafone.de
2016-06-02 08:27:41 +02:00
..
2016-05-11 12:31:26 -04:00
2016-05-04 20:20:28 -04:00
2015-12-21 16:42:05 -05:00
2015-06-03 21:03:15 -04:00
2016-01-28 14:39:34 +02:00
2016-01-28 14:39:34 +02:00
2016-02-27 22:52:40 +02:00
2016-02-27 22:52:40 +02:00
2016-05-04 20:24:57 -04:00
2016-05-04 20:24:57 -04:00
2016-04-27 12:27:09 -04:00
2016-05-04 20:20:20 -04:00
2016-05-02 13:08:56 -04:00
2016-05-17 08:47:30 +02:00
2016-05-11 12:31:21 -04:00
2016-05-25 09:42:53 -04:00
2015-06-03 21:03:15 -04:00
2016-05-17 08:47:30 +02:00
2016-02-12 15:42:54 -05:00
2016-05-11 12:31:26 -04:00
2016-05-17 08:47:30 +02:00
2016-05-04 20:31:02 -04:00
2015-06-03 21:03:15 -04:00
2016-05-18 09:22:29 -04:00
2015-08-17 16:50:21 -04:00
2015-06-03 21:03:15 -04:00
2016-01-26 00:35:56 -05:00
2016-05-25 09:42:53 -04:00
2016-05-02 15:26:57 -04:00
2016-05-11 12:31:20 -04:00
2016-05-17 08:47:30 +02:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2016-05-11 13:30:32 -04:00
2015-09-23 17:23:34 -04:00
2015-08-17 16:50:09 -04:00
2015-06-03 21:03:15 -04:00
2016-05-21 07:03:31 +10:00
2016-01-11 09:52:57 -05:00
2016-05-11 13:30:32 -04:00
2016-05-11 12:31:21 -04:00
2016-05-23 17:04:14 -07:00
2016-05-11 12:31:25 -04:00
2016-05-03 11:53:44 -04:00
2016-05-04 20:21:21 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2016-05-04 20:29:47 -04:00
2015-06-03 21:03:15 -04:00
2016-05-11 12:31:26 -04:00
2015-12-21 16:42:07 -05:00
2016-05-11 12:31:18 -04:00
2016-05-04 20:21:12 -04:00
2016-06-02 08:27:41 +02:00
2016-05-04 20:19:16 -04:00
2016-02-10 14:16:49 -05:00
2015-06-03 21:03:15 -04:00
2016-02-29 11:33:59 -05:00
2016-05-09 13:49:56 +10:00
2015-09-23 17:23:34 -04:00
2015-06-03 21:03:15 -04:00
2016-05-11 13:30:12 -04:00
2016-02-10 14:17:23 -05:00
2016-05-11 13:30:31 -04:00
2016-05-11 13:30:31 -04:00
2016-05-11 13:53:54 -04:00
2016-06-02 08:27:41 +02:00
2015-10-14 16:16:24 -04:00
2016-05-11 12:31:20 -04:00
2016-05-04 20:23:58 -04:00
2016-05-04 20:23:53 -04:00
2016-05-12 15:03:49 -04:00
2015-06-03 21:03:15 -04:00
2016-05-09 13:49:56 +10:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2015-06-03 21:03:15 -04:00
2016-05-11 12:31:26 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:51 -04:00
2016-05-18 09:21:52 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 13:30:31 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 12:31:26 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 12:31:20 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2016-05-18 09:22:07 -04:00
2016-01-13 12:12:43 -05:00
2016-05-18 09:22:12 -04:00
2015-06-03 21:03:51 -04:00
2015-10-21 12:19:46 -04:00
2016-05-11 12:31:20 -04:00
2016-05-17 08:47:30 +02:00
2015-06-03 21:03:51 -04:00
2016-05-17 08:47:30 +02:00
2015-06-03 21:03:51 -04:00
2016-05-27 16:03:48 +10:00
2015-06-03 21:03:51 -04:00
2016-05-11 12:31:26 -04:00
2016-02-10 14:17:13 -05:00
2015-12-21 16:42:44 -05:00
2016-05-11 13:30:31 -04:00
2016-05-11 12:31:21 -04:00
2016-05-18 09:22:29 -04:00
2016-05-11 12:31:21 -04:00
2016-05-11 12:31:26 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 12:31:26 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 12:31:26 -04:00
2016-05-18 09:22:17 -04:00
2015-06-03 21:03:51 -04:00
2015-09-02 12:21:35 -04:00
2016-02-10 14:17:13 -05:00
2015-06-03 21:03:17 -04:00
2016-05-02 15:26:57 -04:00
2016-05-16 10:31:07 -04:00
2015-06-03 21:03:17 -04:00
2015-06-03 21:03:17 -04:00
2016-02-10 14:17:23 -05:00
2015-06-03 21:03:13 -04:00
2016-05-11 13:30:31 -04:00
2015-06-03 21:03:51 -04:00
2016-05-18 09:22:29 -04:00
2015-06-03 21:03:51 -04:00
2016-05-04 20:26:26 -04:00
2016-05-11 12:31:26 -04:00
2016-05-18 09:22:23 -04:00
2015-06-03 21:03:51 -04:00
2015-09-02 12:21:35 -04:00
2016-02-10 14:17:13 -05:00
2015-12-21 16:42:43 -05:00
2016-05-11 13:30:31 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 13:30:31 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 13:30:31 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 12:31:26 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 12:31:26 -04:00
2015-06-03 21:03:51 -04:00
2015-08-17 16:50:26 -04:00
2016-05-11 12:31:26 -04:00
2015-06-03 21:03:51 -04:00
2016-05-11 13:30:33 -04:00