Skip to contentSkip to conversation

drm/ttm: don't use compound pages for now

PATCH New Christian König 1 participant 1 message Oct 9, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/ttm: don't use compound pages for now

From: Christian König <[email protected]>

We need to figure out first how to correctly map them into the CPU page tables.

---
 drivers/gpu/drm/ttm/ttm_page_alloc_dma.c | 1 +
 1 file changed, 1 insertion(+)
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c +1 -0
index e5ef10d..96ad129 100644
@@ -913,6 +913,7 @@ static gfp_t ttm_dma_pool_gfp_flags(struct ttm_dma_tt *ttm_dma, bool huge)
 	if (huge) {
 		gfp_flags |= GFP_TRANSHUGE;
 		gfp_flags &= ~__GFP_MOVABLE;
+		gfp_flags &= ~__GFP_COMP;
 	}
 
 	return gfp_flags;
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx