]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbea3c66fa4acb421262193a75ac205fb0b4977ca
tree994b232644ecd23ae2f3cbdacf129135926253ac
parent686d9e7a8a2c430b0fa945ba700b12d868554538
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