]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add common HMM get pages function
authorPhilip Yang <Philip.Yang@amd.com>
Tue, 25 Feb 2020 02:17:30 +0000 (21:17 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:46:43 +0000 (21:46 -0400)
commitbca689a1d819144ff1882e1ab836d52dff1055c2
tree1dc3c28b81af9a204f067134461f11afda21c38e
parentd1f966258371663368a0f64780d2cee0ddd439cc
drm/amdgpu: add common HMM get pages function

Move the HMM get pages function from amdgpu_ttm and to amdgpu_mn. This
common function will be used by new svm APIs.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mn.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c