Commit e56a0fbd authored by Shawn Guo's avatar Shawn Guo Committed by Daniel Vetter

dma-buf/sw_sync: fix document of sw_sync_create_fence_data

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: default avatarShawn Guo <shawn.guo@linaro.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1515988079-8677-1-git-send-email-shawn.guo@linaro.org
parent fa5aaeec
...@@ -43,14 +43,14 @@ ...@@ -43,14 +43,14 @@
* timelines. * timelines.
* *
* Fences can be created with SW_SYNC_IOC_CREATE_FENCE ioctl with struct * 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 * 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 * 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 * from the timeline and signal any fence that has a seqno smaller or equal
* to it. * to it.
* *
* struct sw_sync_ioctl_create_fence * struct sw_sync_create_fence_data
* @value: the seqno to initialise the fence with * @value: the seqno to initialise the fence with
* @name: the name of the new sync point * @name: the name of the new sync point
* @fence: return the fd of the new sync_file with the created fence * @fence: return the fd of the new sync_file with the created fence
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment