drm/amdkfd: map svm range to GPUs
authorFelix Kuehling <Felix.Kuehling@amd.com>
Wed, 24 Feb 2021 23:29:06 +0000 (18:29 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Apr 2021 01:47:21 +0000 (21:47 -0400)
commitf80fe9d3c1149bb2ad0d7807aaaf5eff7c4e80a6
treee0c03a2721e0f474581a3c4c08ffaec6355ae4c7
parentd27afacfead5af7a38c1a65c93c07b7bca6f2420
drm/amdkfd: map svm range to GPUs

Use amdgpu_vm_bo_update_mapping to update GPU page table to map or unmap
svm range system memory pages address to GPUs.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Signed-off-by: Alex Sierra <alex.sierra@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_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.h