[PATCH] drm/ttm: properly unmap dma page upon failure

Yu Zhao yuzhao at google.com
Sat Jul 6 17:33:09 UTC 2019


On Mon, Mar 25, 2019 at 02:22:50PM -0600, Yu Zhao wrote:
> dma_unmap_page() must be called with exactly the same dma address
> and size returned by dma_map_page(). Otherwise, the function may
> fail.
> 
> This is at least the case for debug_dma_unmap_page() and AMD iommu
> unmap_page callback.

Hi, can we please take this fix? Thanks.


More information about the dri-devel mailing list