drm/ttm: add transparent huge page support for DMA allocations v2
authorChristian König <christian.koenig@amd.com>
Thu, 6 Jul 2017 07:59:43 +0000 (09:59 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 6 Oct 2017 21:44:18 +0000 (17:44 -0400)
commit648bc3574716400acc06f99915815f80d9563783
treed0c2da2b8e982b3b1ecae9068a3e203e82e2bc3a
parentd188bfa5532ce5b426681d8530ff1a9683eea0ad
drm/ttm: add transparent huge page support for DMA allocations v2

Try to allocate huge pages when it makes sense.

v2: fix comment and use ifdef

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>
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c