]> asedeno.scripts.mit.edu Git - linux.git/commit
media: Clarify the meaning of file descriptors in VIDIOC_DQBUF
authorTomasz Figa <tfiga@chromium.org>
Wed, 12 Jun 2019 09:36:48 +0000 (05:36 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 21 Jun 2019 20:29:56 +0000 (16:29 -0400)
commit13d93380fca826e49c42e8d83fc8a077cabbe6b8
treee663f9ad21ec99aaab3ca324eb597c6d5a36cd5d
parentababd7612321bbe89abc87c607ca8d70702d9e56
media: Clarify the meaning of file descriptors in VIDIOC_DQBUF

When the application calls VIDIOC_DQBUF with the DMABUF memory type, the
v4l2_buffer structure (or v4l2_plane structures) are filled with DMA-buf
file descriptors. However, the current documentation does not explain
whether those are new file descriptors referring to the same DMA-bufs or
just the same integers as passed to VIDIOC_QBUF back in time. Clarify
the documentation that it's the latter.

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Documentation/media/uapi/v4l/vidioc-qbuf.rst