drm/ttm: allocate/free multiple pages in a single call
authorChristian König <christian.koenig@amd.com>
Tue, 19 Sep 2017 13:20:42 +0000 (15:20 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2017 20:30:17 +0000 (16:30 -0400)
commitc6e839a3e299bbff991a3b4136f96ccaca4b276f
treeffecfd346a28188d45af833594afeba57c0edd97
parenta05502e5cfa9abe17a16592be82c2f5692c91f35
drm/ttm: allocate/free multiple pages in a single call

Totally surprisingly this is more efficient than doing it page by page.

Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@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