Re: [PATCH 0/2] Make the vmwgfx driver reasonably DMA-API compliant

2013-11-05 Thread Konrad Rzeszutek Wilk
On Mon, Nov 04, 2013 at 05:57:37AM -0800, Thomas Hellstrom wrote:
 These patches makes the vmwgfx driver use the DMA API to obtain valid
 device addresses rather than blindly using physical addresses.
 
 The main motivation is to be able to use a virtual IOMMU in the future.

Ooooh. Neat! Are there any RFC patches available?
 
 Other TTM drivers typically map pages one by one rather than using a
 scatter-gather list, but since we can benefit from having a single dma
 address region set up by the IOMMU, we use a scatter-gather list instead.
 
 Finally to be able to handle all the dma mapping modes, we locally extend the
 scatter-gather list page iterator to handle also the direct physical- and
 coherent cases.
 
 Finally, the TTM DMA page pool is enabled also when the Intel IOMMU is active

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: [PATCH 0/2] Make the vmwgfx driver reasonably DMA-API compliant

2013-11-04 Thread Thomas Hellstrom
On 11/04/2013 05:30 PM, Konrad Rzeszutek Wilk wrote:
 On Mon, Nov 04, 2013 at 05:57:37AM -0800, Thomas Hellstrom wrote:
 These patches makes the vmwgfx driver use the DMA API to obtain valid
 device addresses rather than blindly using physical addresses.

 The main motivation is to be able to use a virtual IOMMU in the future.
 Ooooh. Neat! Are there any RFC patches available?

Nope, not yet.

Thanks,
Thomas

--
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951iu=/4140/ostg.clktrk
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel