commit | d92d985177c495aab53c7167f310a7efb1853918 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Thu Oct 24 01:49:26 2013 -0700 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Wed Nov 06 03:57:16 2013 -0800 |
tree | b8af3af9373dd0bbcb7df30b5e5a7b66dbf98801 | |
parent | 7aeb7448d8d02868ef30a6d08e856b2220319273 [diff] |
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 <thellstrom@vmware.com> Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>