[PATCH] dma-buf/sync_file: document flags field

Gustavo Padovan gustavo at padovan.org
Mon Jul 31 19:36:55 UTC 2017


From: Gustavo Padovan <gustavo.padovan at collabora.com>

Documentation for it was missing.

Signed-off-by: Gustavo Padovan <gustavo.padovan at collabora.com>
---
 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



More information about the dri-devel mailing list