OSDN Git Service

drm/ttm: add transparent huge page support for wc or uc allocations v2
authorChristian König <christian.koenig@amd.com>
Thu, 5 Oct 2017 12:27:34 +0000 (14:27 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Oct 2017 19:27:02 +0000 (15:27 -0400)
commit6ed4e2e673d348df6623012a628a8ab8624e3222
tree473b06c3130fc33b8be9c3505c0a6e1b573ee736
parent8593e9b85e0aa67db62ec395774021a139efc2cd
drm/ttm: add transparent huge page support for wc or uc allocations v2

Add a new huge page pool and try to allocate from it when it makes sense.

v2: avoid compound pages for now

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