aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2013-11-06 21:21:42 -0500
committerDave Airlie <airlied@redhat.com>2013-11-06 21:21:42 -0500
commit1e95ab5846504b2c0e9a01405bbb3278e2e20480 (patch)
treeb8af3af9373dd0bbcb7df30b5e5a7b66dbf98801 /drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
parent4695b03970df378dcb93fe3e7158381f1e980fa2 (diff)
parentd92d985177c495aab53c7167f310a7efb1853918 (diff)
Merge branch 'vmwgfx-next-3.13' of git://people.freedesktop.org/~thomash/linux into drm-next
Pull request for vmwgfx. Currently just the DMA address stuff. * 'vmwgfx-next-3.13' of git://people.freedesktop.org/~thomash/linux: drm/vmwgfx: Use the linux DMA api to get valid device addresses of pages drm/ttm: Enable the dma page pool also for intel IOMMUs
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_page_alloc_dma.c')
-rw-r--r--drivers/gpu/drm/ttm/ttm_page_alloc_dma.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
index 7957beeeaf73..fb8259f69839 100644
--- a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
+++ b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
@@ -33,6 +33,7 @@
33 * when freed). 33 * when freed).
34 */ 34 */
35 35
36#if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU)
36#define pr_fmt(fmt) "[TTM] " fmt 37#define pr_fmt(fmt) "[TTM] " fmt
37 38
38#include <linux/dma-mapping.h> 39#include <linux/dma-mapping.h>
@@ -1142,3 +1143,5 @@ int ttm_dma_page_alloc_debugfs(struct seq_file *m, void *data)
1142 return 0; 1143 return 0;
1143} 1144}
1144EXPORT_SYMBOL_GPL(ttm_dma_page_alloc_debugfs); 1145EXPORT_SYMBOL_GPL(ttm_dma_page_alloc_debugfs);
1146
1147#endif