Jason Ekstrand
9c19fb10a5
drm/syncobj: Add a callback mechanism for replace_fence (v3)
...
It is useful in certain circumstances to know when the fence is replaced
in a syncobj. Specifically, it may be useful to know when the fence
goes from NULL to something valid. This does make syncobj_replace_fence
a little more expensive because it has to take a lock but, in the common
case where there is no callback list, it spends a very short amount of
time inside the lock.
v2:
- Don't lock in drm_syncobj_fence_get. We only really need to lock
around fence_replace to make the callback work.
v3:
- Fix the cb_list comment to make kbuild happy
Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-08-29 06:26:42 +10:00
..
2017-07-26 13:43:33 +02:00
2016-09-07 13:10:10 +01:00
2017-08-09 17:55:50 +02:00
2017-08-17 15:45:59 -04:00
2014-09-12 15:28:12 +02:00
2016-04-27 08:41:34 +02:00
2017-08-08 14:48:48 +02:00
2017-08-08 14:49:29 +02:00
2017-03-09 16:18:02 +01:00
2017-05-22 09:49:48 +02:00
2017-07-26 12:19:47 -07:00
2017-01-10 11:17:01 +01:00
2017-05-02 10:30:23 +02:00
2017-08-08 14:45:09 +02:00
2017-04-06 21:29:23 +02:00
2017-08-08 14:45:09 +02:00
2016-10-17 16:44:34 +02:00
2017-03-24 09:36:06 +01:00
2017-08-11 10:47:17 +02:00
2016-05-23 11:35:31 +10:00
2016-10-19 18:20:40 +03:00
2017-06-16 13:58:27 +10:00
2017-07-13 19:28:43 +03:00
2017-08-11 10:48:03 +02:00
2017-07-14 21:23:54 +03:00
2016-12-18 16:29:29 +05:30
2017-01-26 10:49:09 +01:00
2017-06-20 16:23:40 +02:00
2017-08-07 11:20:36 +02:00
2017-06-14 12:10:22 +10:00
2016-02-05 15:23:48 +10:00
2017-01-25 16:18:57 +01:00
2017-03-22 19:45:00 +02:00
2017-08-16 21:32:23 +02:00
2017-08-16 20:21:24 +02:00
2017-08-16 21:32:23 +02:00
2017-07-29 13:49:55 +02:00
2017-03-24 09:36:06 +01:00
2017-03-24 09:36:06 +01:00
2017-05-27 15:39:28 -04:00
2017-06-01 08:02:14 +02:00
2016-06-21 22:10:55 +02:00
2016-08-24 13:34:00 +02:00
2017-03-07 13:59:53 +10:00
2017-08-01 17:50:06 +01:00
2017-02-28 16:14:55 +01:00
2017-07-14 21:23:54 +03:00
2017-08-07 11:20:36 +02:00
2016-12-15 14:03:30 +02:00
2017-04-05 09:26:45 +02:00
2017-04-06 17:00:27 -04:00
2017-06-02 10:41:20 -04:00
2017-05-16 17:17:02 +02:00
2017-06-20 10:41:03 +02:00
2015-08-12 12:24:05 -04:00
2017-03-29 09:14:58 +02:00
2017-08-08 14:45:09 +02:00
2017-06-01 08:02:14 +02:00
2017-02-26 21:43:08 +01:00
2017-07-14 15:53:06 +02:00
2017-05-31 09:59:41 +02:00
2017-07-31 14:24:14 +02:00
2017-08-01 17:50:06 +01:00
2017-08-29 06:26:42 +10:00
2017-04-04 20:47:54 +02:00
2017-06-28 12:51:13 +02:00
2017-03-09 16:18:02 +01:00
2017-08-11 10:48:03 +02:00
2014-03-17 20:11:57 +01:00
2016-09-22 09:01:55 -07:00
2016-08-09 22:18:26 +02:00
2017-06-09 11:36:29 -07:00
2017-05-03 16:24:00 +03:00
2017-01-06 16:02:09 +00:00