[PATCH] drm/udl: avoid swiotlb for imported vmap buffers.
Dave Airlie
airlied at gmail.com
Mon May 6 15:45:34 PDT 2013
>>> One that appears the same as a GEM object created by userspace. i.e. mmap works.
>>
>> Oh, we have an mmap interface in the dma_buf thing for that, and iirc
>> Rob Clark even bothered to implement the gem->dma_buf mmap forwarding
>> somewhere. And iirc android's ion-on-dma_buf stuff is even using the
>> mmap interface stuff.
>
> fwiw, what I did was dma_buf -> gem mmap fwding, ie. implement mmap
> for the dmabuf object by fwd'ing it to my normal gem mmap code. Might
> be the opposite of what you are looking for here. Although I suppose
> the reverse could work to, I hadn't really thought about it yet.
>
Yeah thats the opposite, I want to implement my GEM mmap ioctls using
dma-buf mmaps :)
Dave.
More information about the dri-devel
mailing list