Skip to content

Commit 102514e

Browse files
committed
dma-buf: minor doc touch-ups
Just some tiny edits: - fix link to struct dma_fence - give slightly more meaningful title - the polling here is about implicit fences, explicit fences (in sync_file or drm_syncobj) also have their own polling v2: I misplaced the .rst include change corresponding to this patch. Reviewed-by: Thomas Hellstrom <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 7e06886 commit 102514e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Documentation/driver-api/dma-buf.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ CPU Access to DMA Buffer Objects
100100
.. kernel-doc:: drivers/dma-buf/dma-buf.c
101101
:doc: cpu access
102102

103-
Fence Poll Support
104-
~~~~~~~~~~~~~~~~~~
103+
Implicit Fence Poll Support
104+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
105105

106106
.. kernel-doc:: drivers/dma-buf/dma-buf.c
107-
:doc: fence polling
107+
:doc: implicit fence polling
108108

109109
Kernel Functions and Structures Reference
110110
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

drivers/dma-buf/dma-buf.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@ static loff_t dma_buf_llseek(struct file *file, loff_t offset, int whence)
161161
}
162162

163163
/**
164-
* DOC: fence polling
164+
* DOC: implicit fence polling
165165
*
166166
* To support cross-device and cross-driver synchronization of buffer access
167-
* implicit fences (represented internally in the kernel with &struct fence) can
168-
* be attached to a &dma_buf. The glue for that and a few related things are
167+
* implicit fences (represented internally in the kernel with &struct dma_fence)
168+
* can be attached to a &dma_buf. The glue for that and a few related things are
169169
* provided in the &dma_resv structure.
170170
*
171171
* Userspace can query the state of these implicitly tracked fences using poll()

0 commit comments

Comments
 (0)