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 t

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

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

2013-11-04 Thread Thomas Hellstrom
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. Other TTM drivers typically map pages one by one rather than using a scatter-gather list, bu