[RFC] dma-buf: Implement test module

Thierry Reding thierry.reding at gmail.com
Sat Dec 14 04:39:13 PST 2013


On Thu, Dec 12, 2013 at 08:34:28PM +0100, Thomas Hellstrom wrote:
> On 12/12/2013 03:36 PM, Thierry Reding wrote:
> >This is a simple test module that can be used to allocate, export and
> >delete DMA-BUF objects. It can be used to test DMA-BUF sharing in
> >systems that lack a real second driver.
> >
> >
> 
> Looks nice. I wonder whether this could be extended to create a "streaming"
> dma-buf from a user space mapping. That could be used as a generic way to
> implement streaming (user) buffer objects, rather than to add explicit
> support for those in, for example, TTM.

I'm somewhat reluctant to beef this up needlessly to prevent it from
being used for purposes other than testing.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20131214/d0a3c146/attachment-0001.pgp>


More information about the dri-devel mailing list