]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: Add helper functions to populate/map in one call (v2)
authorTom St Denis <tom.stdenis@amd.com>
Fri, 18 Aug 2017 14:04:57 +0000 (10:04 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Aug 2017 19:27:52 +0000 (15:27 -0400)
commit43241263a2d4cfd5041af9e45557be4ba06f1a52
tree7c5c86d283b0d027f755ad8ee947573fa4c1d63e
parent76c3349bf448f67413f0306efccb92b3c1ca1574
drm/ttm: Add helper functions to populate/map in one call (v2)

These functions replace a section of common code found
in radeon/amdgpu drivers (and possibly others) as part
of the ttm_tt_*populate() callbacks.

v2: squash in fix for sw iommu from Tom

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_page_alloc.c
include/drm/ttm/ttm_page_alloc.h