Skip to content

Make the vmwgfx driver reasonably DMA-API compliant

Thomas Hellstrom dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/ttm: Enable the dma page pool also for intel IOMMUsdrivers/gpu/drm/ttm/Makefile drivers/gpu/drm/ttm/ttm_page_alloc_dma.c include/drm/ttm/ttm_page_alloc.h+14 -62 replies
2/2drm/vmwgfx: Use the linux DMA api to get valid device addresses of pagesdrivers/gpu/drm/vmwgfx/vmwgfx_buffer.c drivers/gpu/drm/vmwgfx/vmwgfx_drv.c drivers/gpu/drm/vmwgfx/vmwgfx_drv.h +1 more+620 -944 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJakob BornecrantzKonrad Rzeszutek Wilk
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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

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, 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

------------------------------------------------------------------------------
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=65839951&iu=/4140/ostg.clktrk
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel