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>
This commit is contained in:
Christian König 2017-10-09 14:34:13 +02:00 committed by Alex Deucher
parent 76d6172b6f
commit f4c809914a
1 changed files with 1 additions and 0 deletions

View File

@ -913,6 +913,7 @@ static gfp_t ttm_dma_pool_gfp_flags(struct ttm_dma_tt *ttm_dma, bool huge)
if (huge) { if (huge) {
gfp_flags |= GFP_TRANSHUGE; gfp_flags |= GFP_TRANSHUGE;
gfp_flags &= ~__GFP_MOVABLE; gfp_flags &= ~__GFP_MOVABLE;
gfp_flags &= ~__GFP_COMP;
} }
return gfp_flags; return gfp_flags;