diff options
author | Christian König <christian.koenig@amd.com> | 2017-10-09 08:34:13 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-10-19 15:27:00 -0400 |
commit | f4c809914a7c3e4a59cf543da6c2a15d0f75ee38 (patch) | |
tree | 84028cee06e7e90acc95071206da1d2ffa1e2be3 | |
parent | 76d6172b6fab16455af4b67bb18a3f66011592f8 (diff) |
drm/ttm: don't use compound pages for now
We need to figure out first how to correctly map them into the CPU page tables.
bug: https://bugs.freedesktop.org/show_bug.cgi?id=103138
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 1 |
1 files changed, 1 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 e5ef10d34748..96ad12906621 100644 --- a/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +++ b/drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | |||
@@ -913,6 +913,7 @@ static gfp_t ttm_dma_pool_gfp_flags(struct ttm_dma_tt *ttm_dma, bool huge) | |||
913 | if (huge) { | 913 | if (huge) { |
914 | gfp_flags |= GFP_TRANSHUGE; | 914 | gfp_flags |= GFP_TRANSHUGE; |
915 | gfp_flags &= ~__GFP_MOVABLE; | 915 | gfp_flags &= ~__GFP_MOVABLE; |
916 | gfp_flags &= ~__GFP_COMP; | ||
916 | } | 917 | } |
917 | 918 | ||
918 | return gfp_flags; | 919 | return gfp_flags; |