Re: [PATCH] allow buffers allocation with DMABUF memory type

2017-02-13 Thread Benjamin Gaignard
2017-02-13 13:18 GMT+01:00 Hans Verkuil : > Hi Benjamin, > > This is a blast from the past since this patch is almost two years old and it > has been languishing in my TODO list for ages. Sorry about that. > > Obviously this patch no longer applies, but I was also wondering what exactly > will go w

Re: [PATCH] allow buffers allocation with DMABUF memory type

2017-02-13 Thread Hans Verkuil
Hi Benjamin, This is a blast from the past since this patch is almost two years old and it has been languishing in my TODO list for ages. Sorry about that. Obviously this patch no longer applies, but I was also wondering what exactly will go wrong if we don't attach to the dma buf. If something

[PATCH] allow buffers allocation with DMABUF memory type

2015-04-23 Thread Benjamin Gaignard
Until now the only way to make the driver allocate buffers and share them using dma_buf was to use V4L2_MEMORY_MMAP memory type. Use of MMAP memory type is a problem because vb2 never call dma_buf_map_attachment() to attach itself while queuing the buffer so dma_buf importer will not know that anot