linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 00/12] vb2: improve dma-sg, expbuf.
@ 2014-09-08 14:14 Hans Verkuil
  2014-09-08 14:14 ` [RFC PATCH 01/12] vb2: introduce buf_prepare/finish_for_cpu Hans Verkuil
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: Hans Verkuil @ 2014-09-08 14:14 UTC (permalink / raw)
  To: linux-media; +Cc: pawel, laurent.pinchart, m.szyprowski

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.

Related to that is the addition of buf_prepare/finish _for_cpu variants,
where the _for_cpu ops are called when the buffer is synced for the cpu, and
the others are called when it is synced to the device.

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

A new flag was added so drivers know when the DMA engine should be
(re)programmed. This is primarily needed for the dma-sg memory model.

Reviews are very welcome.

Regards,

	Hans


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2014-09-14  7:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-08 14:14 [RFC PATCH 00/12] vb2: improve dma-sg, expbuf Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 01/12] vb2: introduce buf_prepare/finish_for_cpu Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 02/12] vb2-dma-sg: add allocation context to dma-sg Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 03/12] vb2-dma-sg: add prepare/finish memops Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 04/12] vb2: memop prepare: return errors Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 05/12] vb2: call memop prepare before the buf_prepare op is called Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 06/12] vb2-dma-sg: add dmabuf import support Hans Verkuil
2014-09-14  6:55   ` Pawel Osciak
2014-09-08 14:14 ` [RFC PATCH 07/12] vb2-dma-sg: add get_dmabuf Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 08/12] vb2-vmalloc: add get_dmabuf support Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 09/12] vb2: replace 'write' by 'dma_dir' Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 10/12] vb2: add 'new_cookies' flag Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 11/12] saa7134: don't rebuild the page table unless new_cookies is set Hans Verkuil
2014-09-08 14:14 ` [RFC PATCH 12/12] vivid: enable vb2_expbuf support Hans Verkuil
2014-09-08 14:47 ` [RFC PATCH 00/12] vb2: improve dma-sg, expbuf Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).