diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-09 11:51:19 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-02-23 11:28:41 +0100 |
commit | 9c171cdf22d1486da1608abd7612fabe2a8262ca (patch) | |
tree | 74b81eaf1e56fc9f0aa47681940acaf5a37d6a20 /Documentation/media/uapi/dvb | |
parent | media: dmxdev: Fix the logic that enables DMA mmap support (diff) | |
download | linux-9c171cdf22d1486da1608abd7612fabe2a8262ca.tar.xz linux-9c171cdf22d1486da1608abd7612fabe2a8262ca.zip |
media: dvb: add continuity error indicators for memory mapped buffers
While userspace can detect discontinuity errors, it is useful to
also let Kernelspace reporting discontinuity, as it can help to
identify if the data loss happened either at Kernel or userspace side.
Update documentation accordingly.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/dvb')
-rw-r--r-- | Documentation/media/uapi/dvb/dmx-qbuf.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/media/uapi/dvb/dmx-qbuf.rst b/Documentation/media/uapi/dvb/dmx-qbuf.rst index b48c4931658e..be5a4c6f1904 100644 --- a/Documentation/media/uapi/dvb/dmx-qbuf.rst +++ b/Documentation/media/uapi/dvb/dmx-qbuf.rst @@ -51,9 +51,10 @@ out to disk. Buffers remain locked until dequeued, until the the device is closed. Applications call the ``DMX_DQBUF`` ioctl to dequeue a filled -(capturing) buffer from the driver's outgoing queue. They just set the ``reserved`` field array to zero. When ``DMX_DQBUF`` is called with a -pointer to this structure, the driver fills the remaining fields or -returns an error code. +(capturing) buffer from the driver's outgoing queue. +They just set the ``index`` field withe the buffer ID to be queued. +When ``DMX_DQBUF`` is called with a pointer to struct :c:type:`dmx_buffer`, +the driver fills the remaining fields or returns an error code. By default ``DMX_DQBUF`` blocks when no buffer is in the outgoing queue. When the ``O_NONBLOCK`` flag was given to the |