diff options
Diffstat (limited to 'Documentation/media/uapi/v4l/dmabuf.rst')
-rw-r--r-- | Documentation/media/uapi/v4l/dmabuf.rst | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Documentation/media/uapi/v4l/dmabuf.rst b/Documentation/media/uapi/v4l/dmabuf.rst index 57917fb98c7a..675768f7c66a 100644 --- a/Documentation/media/uapi/v4l/dmabuf.rst +++ b/Documentation/media/uapi/v4l/dmabuf.rst @@ -143,13 +143,16 @@ functions are always available. To start and stop capturing or displaying applications call the :ref:`VIDIOC_STREAMON <VIDIOC_STREAMON>` and -:ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` ioctls. Note that -:ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` removes all buffers from -both queues and unlocks all buffers as a side effect. Since there is no -notion of doing anything "now" on a multitasking system, if an -application needs to synchronize with another event it should examine -the struct :ref:`v4l2_buffer <v4l2-buffer>` ``timestamp`` of captured or -outputted buffers. +:ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` ioctls. + +.. note:: + + :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` removes all buffers from + both queues and unlocks all buffers as a side effect. Since there is no + notion of doing anything "now" on a multitasking system, if an + application needs to synchronize with another event it should examine + the struct :ref:`v4l2_buffer <v4l2-buffer>` ``timestamp`` of captured or + outputted buffers. Drivers implementing DMABUF importing I/O must support the :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`, |