OSDN Git Service

dma-buf/sync_file: document flags field
authorGustavo Padovan <gustavo.padovan@collabora.com>
Mon, 31 Jul 2017 19:36:55 +0000 (16:36 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.com>
Fri, 18 Aug 2017 17:07:26 +0000 (14:07 -0300)
Documentation for it was missing.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Acked-by: Sumit Semwal <sumit.semwal@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170731193655.6176-1-gustavo@padovan.org
include/linux/sync_file.h

index 0ad87c4..790ca02 100644 (file)
  * @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;