Re: [PATCH] media: Clarify the meaning of file descriptors in VIDIOC_DQBUF

From: Sakari Ailus
Date: Thu Jun 20 2019 - 04:50:29 EST

On Wed, Jun 12, 2019 at 06:36:48PM +0900, Tomasz Figa wrote:
> 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@xxxxxxxxxxxx>

Acked-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx>

Sakari Ailus