media: videobuf2: Allow exporting of a struct dmabuf
raspberrypi inclusion category: feature bugzilla: 50432 -------------------------------- videobuf2 only allowed exporting a dmabuf as a file descriptor, but there are instances where having the struct dma_buf is useful within the kernel. Split the current implementation into two, one step which exports a struct dma_buf, and the second which converts that into an fd. Signed-off-by: NDave Stevenson <dave.stevenson@raspberrypi.org> Signed-off-by: NFang Yafen <yafen@iscas.ac.cn> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录