From: Thomas Hellstrom Date: Thu, 24 Oct 2013 08:49:26 +0000 (-0700) Subject: drm/vmwgfx: Use the linux DMA api to get valid device addresses of pages X-Git-Tag: v3.13-rc1~76^2~17^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d92d985177c495aab53c7167f310a7efb1853918;p=pandora-kernel.git drm/vmwgfx: Use the linux DMA api to get valid device addresses of pages The code handles three different cases: 1) physical page addresses. The ttm page array is used. 2) DMA subsystem addresses. A scatter-gather list is used. 3) Coherent pages. The ttm dma pool is used, together with the dma_ttm array os dma_addr_t Signed-off-by: Thomas Hellstrom Reviewed-by: Jakob Bornecrantz --- Reading git-diff-tree failed