[REVIEWv7 PATCH 00/12] vb2: improve dma-sg, expbuf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changes since RFCv6:

- Dropped patches 12-16/16: introducing begin/end_cpu_access functions
  is not yet ready for upstreaming.
- Incorporated Pawel's review comments except for his comment regarding
  the use of 'if (!IS_ERR_OR_NULL(alloc_ctx))' in vb2_dma_sg_cleanup_ctx().
  I rather like it (it's more robust for one thing) and actually added a
  patch to do the same for vb2_dma_contig_cleanup_ctx(). If this really
  runs into resistance, then I can remove it again.

The patch series adds an allocation context to dma-sg and uses that to move
dma_(un)map_sg into the vb2 framework, which is where it belongs.

Some drivers needs to fixup the buffers before giving it back to userspace
(or before handing it over to the kernel). Document that this can be done
in buf_prepare and buf_finish.

DMABUF export support is added to dma-sg and vmalloc, so now all memory
models support DMABUF importing and exporting.

I'm planning to make a pull request on Friday if there are no more comments.

Regards,

	Hans

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux