]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: DMA map/unmap consecutive pages as a whole v2
authorChristian König <christian.koenig@amd.com>
Wed, 20 Sep 2017 12:07:02 +0000 (14:07 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 9 Oct 2017 20:30:17 +0000 (16:30 -0400)
commit6056a1a565547743c5a87dc3d9c51d086acf9c27
tree838eb114d2cd6f8954ed1b03ffa9e2b53263e512
parentc6e839a3e299bbff991a3b4136f96ccaca4b276f
drm/ttm: DMA map/unmap consecutive pages as a whole v2

Instead of mapping them bit by bit map/unmap all consecutive
pages as in one call.

v2: test for consecutive pages instead of using compound page order.

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