mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 19:43:43 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
d27afacfea
commit
f80fe9d3c1
@@ -948,13 +948,6 @@ static int process_update_pds(struct amdkfd_process_info *process_info,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static struct amdgpu_vm *drm_priv_to_vm(struct drm_file *drm_priv)
|
||||
{
|
||||
struct amdgpu_fpriv *fpriv = drm_priv->driver_priv;
|
||||
|
||||
return &fpriv->vm;
|
||||
}
|
||||
|
||||
static int init_kfd_vm(struct amdgpu_vm *vm, void **process_info,
|
||||
struct dma_fence **ef)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user