* [PATCH] dma-buf/sw_sync: fix document of sw_sync_create_fence_data
@ 2018-01-15 3:47 Shawn Guo
2018-01-15 9:47 ` Daniel Vetter
0 siblings, 1 reply; 2+ messages in thread
From: Shawn Guo @ 2018-01-15 3:47 UTC (permalink / raw)
To: Sumit Semwal, Gustavo Padovan; +Cc: linux-media, dri-devel, Shawn Guo
The structure should really be sw_sync_create_fence_data rather than
sw_sync_ioctl_create_fence which is the function name.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
---
drivers/dma-buf/sw_sync.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/dma-buf/sw_sync.c b/drivers/dma-buf/sw_sync.c
index 24f83f9eeaed..7779bdbd18d1 100644
--- a/drivers/dma-buf/sw_sync.c
+++ b/drivers/dma-buf/sw_sync.c
@@ -43,14 +43,14 @@
* timelines.
*
* Fences can be created with SW_SYNC_IOC_CREATE_FENCE ioctl with struct
- * sw_sync_ioctl_create_fence as parameter.
+ * sw_sync_create_fence_data as parameter.
*
* To increment the timeline counter, SW_SYNC_IOC_INC ioctl should be used
* with the increment as u32. This will update the last signaled value
* from the timeline and signal any fence that has a seqno smaller or equal
* to it.
*
- * struct sw_sync_ioctl_create_fence
+ * struct sw_sync_create_fence_data
* @value: the seqno to initialise the fence with
* @name: the name of the new sync point
* @fence: return the fd of the new sync_file with the created fence
--
1.9.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dma-buf/sw_sync: fix document of sw_sync_create_fence_data
2018-01-15 3:47 [PATCH] dma-buf/sw_sync: fix document of sw_sync_create_fence_data Shawn Guo
@ 2018-01-15 9:47 ` Daniel Vetter
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Vetter @ 2018-01-15 9:47 UTC (permalink / raw)
To: Shawn Guo; +Cc: Sumit Semwal, Gustavo Padovan, dri-devel, linux-media
On Mon, Jan 15, 2018 at 11:47:59AM +0800, Shawn Guo wrote:
> The structure should really be sw_sync_create_fence_data rather than
> sw_sync_ioctl_create_fence which is the function name.
>
> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Applied, thanks for your patch.
-Daniel
> ---
> drivers/dma-buf/sw_sync.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/dma-buf/sw_sync.c b/drivers/dma-buf/sw_sync.c
> index 24f83f9eeaed..7779bdbd18d1 100644
> --- a/drivers/dma-buf/sw_sync.c
> +++ b/drivers/dma-buf/sw_sync.c
> @@ -43,14 +43,14 @@
> * timelines.
> *
> * Fences can be created with SW_SYNC_IOC_CREATE_FENCE ioctl with struct
> - * sw_sync_ioctl_create_fence as parameter.
> + * sw_sync_create_fence_data as parameter.
> *
> * To increment the timeline counter, SW_SYNC_IOC_INC ioctl should be used
> * with the increment as u32. This will update the last signaled value
> * from the timeline and signal any fence that has a seqno smaller or equal
> * to it.
> *
> - * struct sw_sync_ioctl_create_fence
> + * struct sw_sync_create_fence_data
> * @value: the seqno to initialise the fence with
> * @name: the name of the new sync point
> * @fence: return the fd of the new sync_file with the created fence
> --
> 1.9.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-15 9:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-15 3:47 [PATCH] dma-buf/sw_sync: fix document of sw_sync_create_fence_data Shawn Guo
2018-01-15 9:47 ` Daniel Vetter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox