Chris Wilson
f54d186700
dma-buf: Rename struct fence to dma_fence
I plan to usurp the short name of struct fence for a core kernel struct,
and so I need to rename the specialised fence/timeline for DMA
operations to make room.
A consensus was reached in
https://lists.freedesktop.org/archives/dri-devel/2016-July/113083.html
that making clear this fence applies to DMA operations was a good thing.
Since then the patch has grown a bit as usage increases, so hopefully it
remains a good thing!
(v2...: rebase, rerun spatch)
v3: Compile on msm, spotted a manual fixup that I broke.
v4: Try again for msm, sorry Daniel
coccinelle script:
@@
@@
- struct fence
+ struct dma_fence
@@
@@
- struct fence_ops
+ struct dma_fence_ops
@@
@@
- struct fence_cb
+ struct dma_fence_cb
@@
@@
- struct fence_array
+ struct dma_fence_array
@@
@@
- enum fence_flag_bits
+ enum dma_fence_flag_bits
@@
@@
(
- fence_init
+ dma_fence_init
|
- fence_release
+ dma_fence_release
|
- fence_free
+ dma_fence_free
|
- fence_get
+ dma_fence_get
|
- fence_get_rcu
+ dma_fence_get_rcu
|
- fence_put
+ dma_fence_put
|
- fence_signal
+ dma_fence_signal
|
- fence_signal_locked
+ dma_fence_signal_locked
|
- fence_default_wait
+ dma_fence_default_wait
|
- fence_add_callback
+ dma_fence_add_callback
|
- fence_remove_callback
+ dma_fence_remove_callback
|
- fence_enable_sw_signaling
+ dma_fence_enable_sw_signaling
|
- fence_is_signaled_locked
+ dma_fence_is_signaled_locked
|
- fence_is_signaled
+ dma_fence_is_signaled
|
- fence_is_later
+ dma_fence_is_later
|
- fence_later
+ dma_fence_later
|
- fence_wait_timeout
+ dma_fence_wait_timeout
|
- fence_wait_any_timeout
+ dma_fence_wait_any_timeout
|
- fence_wait
+ dma_fence_wait
|
- fence_context_alloc
+ dma_fence_context_alloc
|
- fence_array_create
+ dma_fence_array_create
|
- to_fence_array
+ to_dma_fence_array
|
- fence_is_array
+ dma_fence_is_array
|
- trace_fence_emit
+ trace_dma_fence_emit
|
- FENCE_TRACE
+ DMA_FENCE_TRACE
|
- FENCE_WARN
+ DMA_FENCE_WARN
|
- FENCE_ERR
+ DMA_FENCE_ERR
)
(
...
)
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20161025120045.28839-1-chris@chris-wilson.co.uk
2016-10-25 14:40:39 +02:00
..
2016-10-11 16:19:17 -06:00
2016-10-19 20:35:39 +11:00
2016-09-23 13:07:15 -06:00
2016-10-02 01:40:20 +02:00
2016-10-14 15:17:12 -07:00
2016-10-03 08:58:35 -07:00
2016-09-23 11:52:32 -06:00
2016-10-10 07:12:02 -06:00
2016-09-14 08:44:57 -06:00
2016-07-26 16:19:19 -07:00
2016-08-07 10:23:17 -04:00
2016-04-28 07:47:35 -06:00
2016-09-08 23:05:07 +02:00
2016-05-31 16:41:55 +08:00
2016-10-11 15:06:33 -07:00
2016-09-21 15:43:09 -06:00
2016-08-07 14:41:02 -06:00
2016-10-23 15:56:23 -07:00
2016-08-08 08:11:42 +05:30
2016-10-14 14:11:22 -07:00
2016-09-06 09:15:48 -06:00
2016-10-06 18:21:15 -07:00
2016-05-10 12:05:27 +03:00
2016-10-13 17:19:19 +02:00
2016-10-20 09:21:41 +02:00
2016-04-28 07:51:59 -06:00
2016-09-23 14:51:18 +02:00
2016-10-25 16:39:43 +10:00
2016-08-17 11:13:07 +02:00
2016-09-08 21:34:17 -07:00
2016-09-08 16:57:14 +02:00
2016-09-20 09:58:12 -06:00
2016-10-01 00:49:58 -06:00
2016-10-02 08:42:19 -04:00
2016-10-04 11:47:02 -07:00
2016-09-06 06:00:22 -06:00
2016-03-05 15:00:38 -08:00
2016-04-16 10:49:08 -06:00
2016-10-14 14:26:58 -07:00
2016-09-20 18:02:54 -06:00
2016-08-12 08:24:14 +02:00
2016-09-23 13:07:21 -06:00
2016-10-04 10:25:53 -07:00
2016-08-18 23:41:56 +02:00
2016-09-22 15:25:56 +02:00
2016-10-05 16:43:53 -03:00
2016-09-20 12:38:48 -06:00
2016-09-23 11:51:43 -06:00
2016-07-25 10:34:51 +02:00
2016-10-14 15:17:12 -07:00
2016-06-17 16:23:23 -07:00
2016-10-07 11:46:37 -07:00
2016-09-23 13:07:27 -06:00
2016-09-15 11:20:55 -07:00
2016-10-06 18:21:15 -07:00
2016-10-07 20:19:31 -07:00
2016-04-28 07:23:59 -06:00
2016-09-20 09:09:09 -06:00
2016-09-20 09:54:38 -06:00
2016-09-01 17:52:02 -07:00
2016-10-11 15:06:33 -07:00
2016-06-13 15:58:23 +02:00
2016-09-10 11:17:41 +02:00
2016-09-29 21:52:43 -04:00
2016-07-26 13:05:11 -07:00
2016-08-18 11:08:33 -06:00
2016-07-26 10:35:31 +02:00
2016-09-19 16:36:41 -03:00
2016-10-04 13:54:07 -07:00
2016-10-10 07:12:09 -06:00
2016-09-30 12:46:48 -05:00
2016-05-10 01:19:26 -07:00
2016-09-27 14:02:16 +08:00
2016-10-10 07:12:09 -06:00
2016-06-25 17:26:35 +03:00
2016-10-06 11:48:41 -07:00
2016-06-23 08:09:10 -06:00
2016-09-27 18:57:07 +02:00
2016-08-07 10:23:17 -04:00
2016-05-01 14:37:49 -07:00
2016-10-14 15:17:12 -07:00
2016-10-10 11:01:51 -07:00
2016-07-24 06:33:58 +03:00
2016-07-20 16:45:37 -06:00
2016-06-30 13:07:33 -06:00
2016-10-10 07:12:09 -06:00
2016-04-18 11:31:49 -06:00
2016-09-20 18:46:36 -06:00
2016-06-23 07:58:38 -06:00
2016-03-30 14:12:22 -07:00
2016-03-21 10:05:13 -07:00
2016-09-20 18:46:36 -06:00
2016-08-14 12:12:36 -06:00
2016-10-01 00:57:13 -06:00
2016-09-21 15:53:31 -06:00
2016-10-11 13:22:22 -07:00
2016-06-13 15:58:27 +02:00
2016-03-29 10:11:44 -07:00
2016-09-20 17:58:46 -06:00
2016-09-26 22:16:41 +05:30
2016-10-11 15:06:32 -07:00
2016-03-21 09:26:45 +01:00
2016-08-14 11:52:40 -06:00
2016-06-07 22:57:10 +02:00
2016-09-21 15:41:50 -06:00
2016-06-07 22:57:10 +02:00
2016-09-20 18:46:36 -06:00
2016-10-11 16:19:17 -06:00
2016-03-31 00:32:59 -06:00
2016-05-02 09:32:04 -07:00
2016-07-20 16:45:37 -06:00
2016-09-20 18:54:42 -06:00
2016-10-04 13:54:07 -07:00
2016-10-14 13:19:30 -07:00
2016-08-03 15:43:58 -06:00
2016-08-15 10:19:11 -06:00
2016-09-20 08:58:27 -06:00
2016-04-28 07:23:11 -06:00
2016-10-10 07:12:02 -06:00
2016-09-01 08:49:23 -06:00
2016-09-20 18:41:04 -06:00
2016-05-04 12:39:35 -07:00
2016-06-23 08:08:36 -06:00
2016-08-12 08:24:13 +02:00
2016-05-19 19:12:14 -07:00
2016-07-27 12:38:00 +09:30
2016-04-29 16:39:39 +02:00
2016-06-23 10:50:10 +02:00
2016-03-15 16:55:16 -07:00
2016-05-17 14:48:04 +02:00
2016-08-05 11:21:36 -07:00
2016-10-02 22:50:21 -07:00
2016-02-24 09:13:12 +01:00
2016-04-28 07:26:41 -06:00
2016-05-06 11:09:01 -07:00
2016-03-14 17:08:16 +01:00
2016-09-20 18:41:04 -06:00
2016-09-20 18:41:04 -06:00
2016-09-21 15:43:09 -06:00
2016-09-07 09:41:11 +01:00
2016-09-21 15:43:09 -06:00
2016-09-21 15:43:09 -06:00
2016-09-21 15:43:09 -06:00
2016-10-25 14:40:39 +02:00
2016-04-28 08:02:36 -06:00
2016-08-31 13:20:16 +02:00
2016-07-06 02:37:38 -06:00
2016-04-28 07:44:54 -06:00