summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-09-18 15:45:11 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-10-06 17:44:14 -0400
commitf9ebec52b5f115a0b06cdabe3036b858bfbb588a (patch)
treeead774c62b49617be4a46a52cbf7f24bb5c6af39 /drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
parent65da0d40e561a717fee065d69d6e4f8d5b34db32 (diff)
downloadlinux-f9ebec52b5f115a0b06cdabe3036b858bfbb588a.tar.gz
linux-f9ebec52b5f115a0b06cdabe3036b858bfbb588a.tar.bz2
linux-f9ebec52b5f115a0b06cdabe3036b858bfbb588a.zip
drm/ttm: remove unsued options from ttm_mem_global_alloc_page
Nobody is actually using that, remove it. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
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, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
index 06bc14b55e66..b8905bdd4143 100644
--- a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
+++ b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
@@ -902,8 +902,7 @@ int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev)
return -ENOMEM;
}
- ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i],
- false, false);
+ ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i]);
if (unlikely(ret != 0)) {
ttm_dma_unpopulate(ttm_dma, dev);
return -ENOMEM;