drm/ttm: DMA map/unmap consecutive pages as a whole v2
authorChristian König <[email protected]>
Wed, 20 Sep 2017 12:07:02 +0000 (14:07 +0200)
committerAlex Deucher <[email protected]>
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 <[email protected]>
Acked-by: Felix Kuehling <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/ttm/ttm_page_alloc.c