Skip to content

Commit

Permalink
drm/vmwgfx: Use the linux DMA api to get valid device addresses of pages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thomas Hellstrom committed Nov 6, 2013
1 parent 7aeb744 commit d92d985
Show file tree
Hide file tree
Showing 4 changed files with 620 additions and 94 deletions.
Loading

0 comments on commit d92d985

Please sign in to comment.