diff options
author | Christian König <christian.koenig@amd.com> | 2017-09-18 09:45:11 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-10-06 17:44:14 -0400 |
commit | f9ebec52b5f115a0b06cdabe3036b858bfbb588a (patch) | |
tree | ead774c62b49617be4a46a52cbf7f24bb5c6af39 /drivers/gpu/drm/ttm/ttm_page_alloc.c | |
parent | 65da0d40e561a717fee065d69d6e4f8d5b34db32 (diff) |
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.c')
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_page_alloc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/ttm/ttm_page_alloc.c b/drivers/gpu/drm/ttm/ttm_page_alloc.c index 052e1f102113..74f465ea914b 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc.c | |||
@@ -882,8 +882,7 @@ int ttm_pool_populate(struct ttm_tt *ttm) | |||
882 | return -ENOMEM; | 882 | return -ENOMEM; |
883 | } | 883 | } |
884 | 884 | ||
885 | ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], | 885 | ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i]); |
886 | false, false); | ||
887 | if (unlikely(ret != 0)) { | 886 | if (unlikely(ret != 0)) { |
888 | ttm_pool_unpopulate(ttm); | 887 | ttm_pool_unpopulate(ttm); |
889 | return -ENOMEM; | 888 | return -ENOMEM; |