Skip to contentSkip to conversation

dma-buf/sync_file: document flags field

PATCH In review Gustavo Padovan 2 participants 3 messages Jul 31, 2017 – Aug 18, 2017 Sync file framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dma-buf/sync_file: document flags field

From: Gustavo Padovan <[email protected]>

Documentation for it was missing.

---
 include/linux/sync_file.h | 4 ++++
 1 file changed, 4 insertions(+)
include/linux/sync_file.h +4 -0
index 0ad87c4..790ca02 100644
@@ -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;
Signature · 6 lines
2.9.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
maintainer Acked-by on v1 1/1
#1 lore raw

Hi Gustavo,

Quoted 5 lines · Gustavo Padovan

From: Gustavo Padovan <[email protected]>

Documentation for it was missing.

Quoted 24 lines
---
 include/linux/sync_file.h | 4 ++++
 1 file changed, 4 insertions(+)
include/linux/sync_file.h +4 -1
index 0ad87c4..790ca02 100644
@@ -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

Quoted 4 lines

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Best,
Sumit.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

2017-08-01 Sumit Semwal <[email protected]>:

Quoted 9 lines

Hi Gustavo,

Quoted 5 lines · Gustavo Padovan

From: Gustavo Padovan <[email protected]>

Documentation for it was missing.

Thanks. Pushed to drm-misc-next.

Gustavo
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel