]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite2385ee0ec98d701bba7d57a86f05a08381da3db
treeffecfd346a28188d45af833594afeba57c0edd97
parenta14e009e2280652064a7d21a8510da94d20e4920
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