drm/amdgpu: export vm update mapping interface
authorPhilip Yang <Philip.Yang@amd.com>
Mon, 23 Sep 2019 15:53:08 +0000 (11:53 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:47:13 +0000 (21:47 -0400)
commitd27afacfead5af7a38c1a65c93c07b7bca6f2420
tree994b232644ecd23ae2f3cbdacf129135926253ac
parent4683cfecadeb383b03019ad11aeea1efac38c1ba
drm/amdgpu: export vm update mapping interface

It will be used by kfd to map svm range to GPU, because svm range does
not have amdgpu_bo and bo_va, cannot use amdgpu_bo_update interface, use
amdgpu vm update interface directly.

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_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h