[PATCH] dma-buf/sync_file: document flags field
Sumit Semwal
sumit.semwal at linaro.org
Tue Aug 1 06:17:58 UTC 2017
Hi Gustavo,
On 1 August 2017 at 01:06, Gustavo Padovan <gustavo at padovan.org> wrote:
> From: Gustavo Padovan <gustavo.padovan at collabora.com>
>
> Documentation for it was missing.
>
> Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.com>
Acked-by: Sumit Semwal <sumit.semwal at linaro.org>
> ---
> include/linux/sync_file.h | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/include/linux/sync_file.h b/include/linux/sync_file.h
> index 0ad87c4..790ca02 100644
> --- a/include/linux/sync_file.h
> +++ b/include/linux/sync_file.h
> @@ -25,8 +25,12 @@
> * @file: file representing this fence
> * @sync_file_list: membership in global file list
> * @wq: wait queue for fence signaling
> + * @flags: flags for the sync_file
> * @fence: fence with the fences in the sync_file
> * @cb: fence callback information
> + *
> + * flags:
> + * POLL_ENABLED: whether userspace is currently poll()'ing or not
> */
> struct sync_file {
> struct file *file;
> --
> 2.9.4
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel
Best,
Sumit.
More information about the dri-devel
mailing list