Commit 823d1bc1 authored by Emilio López's avatar Emilio López Committed by Sumit Semwal

dma-buf/sync_file: fix documentation error

The ioctl name and description on the documentation block don't
match the ioctl being defined. This was probably overlooked while
renaming the ioctls during the sync file destaging. This patch
provides a more accurate description of what the ioctl actually does.
Signed-off-by: default avatarEmilio López <emilio.lopez@collabora.co.uk>
Reviewed-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: default avatarSumit Semwal <sumit.semwal@linaro.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20160919042120.6280-1-emilio.lopez@collabora.co.uk
parent 7cec540a
...@@ -85,15 +85,12 @@ struct sync_file_info { ...@@ -85,15 +85,12 @@ struct sync_file_info {
#define SYNC_IOC_MERGE _IOWR(SYNC_IOC_MAGIC, 3, struct sync_merge_data) #define SYNC_IOC_MERGE _IOWR(SYNC_IOC_MAGIC, 3, struct sync_merge_data)
/** /**
* DOC: SYNC_IOC_FENCE_INFO - get detailed information on a fence * DOC: SYNC_IOC_FILE_INFO - get detailed information on a sync_file
* *
* Takes a struct sync_file_info_data with extra space allocated for pt_info. * Takes a struct sync_file_info. If num_fences is 0, the field is updated
* Caller should write the size of the buffer into len. On return, len is * with the actual number of fences. If num_fences is > 0, the system will
* updated to reflect the total size of the sync_file_info_data including * use the pointer provided on sync_fence_info to return up to num_fences of
* pt_info. * struct sync_fence_info, with detailed fence information.
*
* pt_info is a buffer containing sync_pt_infos for every sync_pt in the fence.
* To iterate over the sync_pt_infos, use the sync_pt_info.len field.
*/ */
#define SYNC_IOC_FILE_INFO _IOWR(SYNC_IOC_MAGIC, 4, struct sync_file_info) #define SYNC_IOC_FILE_INFO _IOWR(SYNC_IOC_MAGIC, 4, struct sync_file_info)
......
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